<HttpRequest> verb sends a request to the external servers. It consists of 2 child nodes <Request> and <Response>
Attributes
| ATTRIBUTE | DESCRIPTION | OPTIONS | DEFAULT |
|---|---|---|---|
async | Defines if TeXML process should wait for the request response. When it is set to false, the callback will be sent to the action URL, when the request is processed | false | |
action | Defines the action url that will be used to send the callback when the request is processed (only if async is set to false) | - |
Child verbs/nouns
| NOUN/VERB | DESCRIPTION |
|---|---|
Request | The <Request> node defines all the attributes of the request. It can have 2 child nodes <Headers> and <Body> |
Response | The <Response> node defines all the attributes of the response. It can have 2 child nodes <Headers> and <Body> |
Examples
Expected callbacks
When the HTTP request completes, a callback is sent to theaction URL. See HTTP Request Callback for the full payload reference.