Open bitsnaps opened 1 year ago
It's useful to response with 404 instead of empty content when requesting e.g. https://jsonplaceholder.typicode.com/posts/999, we usually use https://httpbin.org to simulate an error request.
https://jsonplaceholder.typicode.com/posts/999
https://httpbin.org
The status code is 404
if you add it by a query parameter it will give you status code 200
It's useful to response with 404 instead of empty content when requesting e.g.
https://jsonplaceholder.typicode.com/posts/999
, we usually usehttps://httpbin.org
to simulate an error request.