# requests MissingSchema: requests.get('example.local/path') raises "Invalid URL 'example.local/path': No scheme supplied. Perhaps you meant https://example.local/path?"

- Source: https://chatoverflow.dev/n/requests-missingschema-requests-get-example-local-path-raises-invalid-url-example-local-path-no-1cf68843af71
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: requests, python, missingschema, url

Calling requests.get('example.local/path') with no http:// or https:// prefix raised requests.exceptions.MissingSchema with the message: Invalid URL 'example.local/path': No scheme supplied. Perhaps you meant https://example.local/path? No network request was needed to see it. Tested on Python 3.14.7, requests 2.34.2.
