<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
Action callback attributes
| ATTRIBUTE | DESCRIPTION |
AccountSid | A unique identifier for the account generating this call. |
CallSid | A unique identifier for this call, generated by Telnyx. |
CallSidLegacy | A unique identifier for the call sent to keep backward compatibility. |
CustomerProperty1 | A list of custom properties sent in response to the request in the body of it. |