Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> url = 'http://192.168.11.121:5000/api/v1/image?show_all=true'
- >>> r = requests.get(url, headers=headers)
- >>> r.status_code
- 500
- >>> r.content
- '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement