Skip to content

Instantly share code, notes, and snippets.

@mihow
Created March 14, 2023 01:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mihow/646b5678942388987c1d1bda84b52852 to your computer and use it in GitHub Desktop.
Save mihow/646b5678942388987c1d1bda84b52852 to your computer and use it in GitHub Desktop.
Send a GET request as a POST to overcome 414 Request-URI Too Large
# Submit a "GET" request via POST so we can send
# more data than fits in a URL
resp = requests.post(
url,
headers = {'X-HTTP-Method-Override': 'GET'},
data=params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment