Skip to content

Instantly share code, notes, and snippets.

@rvth
Created September 2, 2021 10:18
Show Gist options
  • Save rvth/d94f0af58727064320543b0341bd124a to your computer and use it in GitHub Desktop.
Save rvth/d94f0af58727064320543b0341bd124a to your computer and use it in GitHub Desktop.
if response.status_code == 200:
print('Success!')
elif response.status_code == 404:
print('Not Found.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment