HTTP Response Examples
A Simple GET Response Example
A simple HTTP GET Request was sent to NZ Customs for a response containing the days exchange rates for international currencies.
The script produced and sent the following successful HTTP GET Request.

Please refer to Anatomy Of An HTTP Request for more detailed information.
The above request resulted in the following HTTP Response being received, along with the exchange rates as the resource.

The returned resource is available in Statelake in three (3) different formats - its raw state, as XML, and as formatted XML.



A Simple POST Response Example
An HTTP POST Request was sent via a Custom Script in an Action, with a simple JSON payload (message body) to a server.
The script produced and sent the following successful HTTP POST Request.

The above request resulted in the following HTTP Response being received, along with the payload being echoed back in several forms.

The response is available in Statelake in four (4) different formats - its raw state, as Text, as JSON, and as formatted JSON.




Please refer to Anatomy Of An HTTP Response for more detailed information.