-5

I am currently doing a coding challenge and the first step that

1 Answers1

2

You need to set the Accept http header to do that. See this question:

REST API - Use the "Accept: application/json" HTTP Header

You will need some http client like Postman to do this, or browser development tools.

tkruse
  • 10,222
  • 7
  • 53
  • 80