JSON Data Example [PHP Code]

An example of sending JSON data to the REST API endpoint. In this JSON Data Example, the example JSON contains a JSON Number (Id), JSON String (Customer), JSON Array (OrderIds) and JSON Object (Details) JSON data types. The Content-Type: application/json request header specifies the media type of the request body, and the Accept: application/json request header tells the server that the client is expecting JSON. The PHP code was automatically generated from the JSON Data Example.
Loading...