You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cloud/how-to/use-webhooks.mdx
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,42 @@ The consumer should now show the following output:
148
148
}
149
149
```
150
150
151
+
### Webhook Path and Query info
152
+
153
+
A curl with path and query info to `https://infinyon.cloud/webhooks/v1/[uri-key]/path_a/path_b?param_a=1¶m_b=2` can be sent as follows: *(note the single quotes around the URI)*
The consumer should show return path and query information as follows:
160
+
161
+
```json
162
+
{
163
+
"body": {
164
+
"key": "value"
165
+
},
166
+
"headers": {
167
+
"accept": "*/*",
168
+
"accept-encoding": "gzip, br",
169
+
"content-length": "16",
170
+
"content-type": "application/json",
171
+
"host": "infinyon.cloud",
172
+
"user-agent": "curl/x.y.z",
173
+
"x-forwarded-for": "..."
174
+
},
175
+
"path": "path_a/path_b",
176
+
"query": "param_a=1¶m_b=2"
177
+
}
178
+
```
179
+
180
+
:::note
181
+
182
+
Json output is the recommended way to receive uri `path` and `query` information
183
+
so that Smartmodule transformation can be directly applied. See [Webhook Config] for more details.
184
+
185
+
:::
186
+
151
187
## Conclusion
152
188
153
189
You now know how to create and configure the output of Webhooks. Check out the [Webhook Config] reference to see how to configure other transformations.
0 commit comments