We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looking at quickstart: a copy paste example that just works with status error magagement, is missing.
The text was updated successfully, but these errors were encountered:
Hi @nixilb, could you be more specific with what you're looking for? We have a section in the Quickstart guide about this topic already.
Sorry, something went wrong.
some COMPLETE code one can copy paste and works
like (found in https://realpython.com/python-requests/)
import requests from requests.exceptions import HTTPError try: response = requests.get("https://api.github.com") response.raise_for_status() print(response.text) except HTTPError as http_err: print(f"HTTP error occurred: {http_err}") except Exception as err: print(f"Other error occurred: {err}") else: print("Success!")
No branches or pull requests
Looking at quickstart: a copy paste example that just works with status error magagement, is missing.
The text was updated successfully, but these errors were encountered: