To receive JSON from a REST API endpoint, you must send an HTTP GET request to the REST API server and provide an Accept: application/json request header . The Accept header tells the REST API server that the API client expects JSON.
Read moreTo receive JSON from a REST API endpoint, you must send an HTTP GET request to the REST API server and provide an Accept: application/json request header . The Accept header tells the REST API server that the API client expects JSON.
Read more