JSON Payload Example

A request payload is data that clients send to the server in the body of an HTTP POST, PUT, or PATCH message that contains important information about the request. To send the JSON message payload to the REST API endpoint, you need to enclose the JSON data in the body of the HTTP request and indicate the data type of the request body with the "Content-Type: application/json" request header. If the client expects a response from the server in JSON format, it also needs to send the "Accept: application/json" header to the server. In this JSON Payload Example, we send JSON to the ReqBin echo URL. Click Send to execute the JSON Payload request online and see the results.
Loading...