JSON Request Example [JavaScript/AJAX Code]

An example of making an request to a JSON API endpoint. In this JSON Request Example, client tells the server that it expects JSON with the Accept: application/json request header. The server indicates that it has returned JSON for this request using the Content-Type: application/json response header. The JavaScript/AJAX code was automatically generated from the JSON Request Example.
Loading...