Advertisement
chase-qi

Untitled

Jan 17th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. >>> url = 'http://192.168.11.121:5000/api/v1/image?show_all=true'
  2. >>> r = requests.get(url, headers=headers)
  3. >>> r.status_code
  4. 500
  5. >>> r.content
  6. '<!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