
Web Request actions allow you to call a web API and use the result to perform an additional action. Simply type in the URL you wish to call, select the HTTP method, configure optional headers and body content, then select the action to perform with the result. Requests will fail out if no response is returned after 5 seconds.
Web Request actions support the following HTTP methods:
You can add custom headers to your web requests to include authentication tokens, content types, or any other required header information. Headers are specified as key-value pairs.
For POST and PUT requests, you can include a request body with the data you want to send to the API. The body content can be formatted as JSON or any other format required by the API endpoint.
This action supports the following options:
$webrequestresult.
This option allows you to specifically parse out the JSON (JavaScript Object Notation) result from the Web Request and assign individual values in the JSON to Special Identifiers. Simply specify the name of the JSON value in the left box (For nested values, use a '\' between each level) and the name of the Special Identifier to put it in to on the right. For example, given the following JSON:
{ "first": "joe", "last": "smoe", "job": { "title": "Supervisor", "years": 10 } }
The following would be the JSON values you would use: