Created
March 14, 2023 01:16
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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