Built-in Functions
Structures
Built-in Variables
HttpQuery-return
This JSON structure is the data structure returned by the HttpQuery function in debug mode when the debug field is specified as true in the parameter options structure.
Attributes
| Name | Type | Description |
StatusCode | number | HTTP status code |
Header | JSON | Request header information |
Cookies | array | Cookie information |
Trace | JSON | Complete path information of the request |
Length | number | Message length |
Body | string | Message content |
See Also
Remarks
Example of returned JSON data structure:
json
{
"StatusCode": 302,
"Header": {
"Content-Type": ["text/html"],
// ...
},
"Cookies": [{
// ...
}],
"Trace": {},
"Length": 154,
"Body": "..."
}