Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 546 Bytes

File metadata and controls

20 lines (13 loc) · 546 Bytes

HTTP Error API

This simple project made for web developers who need to test their apps about correct error handling.

How to use that?

Just make a request in format like http://httpme.tk/<status_code>. HTTPS is also supported!

Python example:

from requests import get


get('http://httpme.tk/200')  # <Response [200]>
get('http://httpme.tk/401')  # <Response [401]>
get('http://httpme.tk/404')  # <Response [404]>
get('http://httpme.tk/500')  # <Response [500]>

Go to httpme.tk for more details.