The header accept: application/json requests the API to return response in JSON format. If server can provide JSON format, it will send back JSON data, else, it returns 406 Not Acceptable status code.
15 was messed up. So, pull request was created again.
The header
accept: application/json
requests the API to return response in JSON format. If server can provide JSON format, it will send back JSON data, else, it returns406 Not Acceptable
status code.15 was messed up. So, pull request was created again.