Interested in sponsoring the site? [find out more]
API Testing Challenges 25, 26, 27, 28 - How To - Status codes 405, 500, 501, 204
This post and video shows how to complete the status code challenges. Numbers 25, 26, 27, 28 which trigger the status codes 405, 500, 501 and 204.
API Testing Challenge 24 - How To - POST JSON accept XML
This post and video shows how to complete the challenge POST /todos JSON to XML
to send a POST request to create a todo item using JSON but receive XML response.
API Testing Challenge 23 - How To - POST XML accept JSON
This post and video shows how to complete the challenge POST /todos XML to JSON
to send a POST request to create a todo item using XML but receive JSON response.
API Testing Challenge 22 - How To - POST todos (415)
This post and video shows how to complete the challenge POST /todos (415)
to send a POST request to try and create a todo item but with unsupported content type.
API Testing Challenge 21 - How To - POST todos create todo with JSON
This post and video shows how to complete the challenge POST /todos JSON
to send a POST request to create a todo item with body and response in JSON format.
API Testing Challenge 20 - How To - POST todos create todo with XML
This post and video shows how to complete the challenge POST /todos XML
to send a POST request to create a todo item with body and response in XML format.
API Testing Challenge 19 - How To - GET todos Invalid Accept Header 406
This post and video shows how to complete the challenge GET /todos (406)
to send a GET request for all todos but passing in an ‘accept’ format that the system does not support.
API Testing Challenge 18 - How To - GET todos No Accept Header 200
This post and video shows how to complete the challenge GET /todos No Accept (200)
to successfully GET all the todos in JSON format but ensure we do not pass in an accept header.
API Testing Challenge 17 - How To - GET todos XML as Preference 200
This post and video shows how to complete the challenge GET /todos XML (200)
to successfully GET all the todos in XML format as first preference.
API Testing Challenge 16 - How To - GET todos any 200
This post and video shows how to complete the challenge GET /todos ANY (200)
to successfully GET all the todos in default format.