How to complete the challenge `GET /todos JSON (200)` to successfully GET all the todos in JSON format.
Issue a GET request on the `/todos` end point with an `Accept` header of `application/json` to receive results in JSON format
`GET` request will receive a response with all the todo items
e.g. `GET /todos` to get all the todo items
`200` is a success code, in this case it means the end point exists and the `todo items were returned
`Accept` means that an `Accept` header was added to specify that the todos should be returned in JSON format
add the `X-CHALLENGER` header to track progress
For a write up of this solution, check out the blog post:
https://eviltester.com/apichallenges/...
Find the API Challenges here:
https://eviltester.com/apichallenges
---
Remember to subscribe to this YouTube channel.
You can support me on Patreon / eviltester (watch my videos ad free and receive extra content)
I blog at https://eviltester.com/blog
Learn more about my books and online training at:
https://eviltester.com
Follow me on:
/ eviltester
/ eviltester
/ eviltester