JSON Response Example [PHP Code]

An example of receiving a JSON response from a REST API endpoint. In this JSON Response Example, the client tells the server that it expects JSON with the Accept: application/json request header. If the client does not send the Accept: application/json header, the server MAY choose a different media type instead of the JSON MIME type for the HTTP response. The PHP code was automatically generated from the JSON Response Example.
Loading...