Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to simulate an error? #192

Open
bitsnaps opened this issue Mar 20, 2023 · 2 comments
Open

Any way to simulate an error? #192

bitsnaps opened this issue Mar 20, 2023 · 2 comments

Comments

@bitsnaps
Copy link

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.

@Ovi
Copy link

Ovi commented Jan 7, 2024

The status code is 404

@abdulrhmanAlfiky
Copy link

if you add it by a query parameter it will give you status code 200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants