Top "Python-requests" questions

USE ONLY FOR THE PYTHON REQUESTS LIBRARY.

Python: FastAPI error 422 with post request

I'm building a simple API to test a database. When I use get request everything works fine, but if I …

python python-requests axios fastapi
requests.exceptions.ConnectionError: HTTPConnectionPool

I have a python script like so: #!/usr/bin/python import sys import requests if len(sys.argv) < 2: print …

python exception python-requests connectionexception
POST request works in Postman, but not in Python Requests (200 response with robot detection)

I have a POST request that works perfectly with both Postman an cURL (it returns a JSON blob of data). …

curl web-scraping python-requests postman incapsula
In requests library, how can I avoid "HttpConnectionPool is full, discarding connection" warning?

I'm using python requests library with sessions: def _get_session(self): if not self.session: self.session = requests.Session() return …

python multithreading python-requests httplib grequests
Sending a POST with mechanize and requests.

I am trying to send a POST using mechanize however my code won't work sometimes(and I know why). I …

python csrf python-requests mechanize-python twill
Make a non-blocking request with requests when running Flask with Gunicorn and Gevent

My Flask application will receive a request, do some processing, and then make a request to a slow external endpoint …

python flask python-requests gunicorn gevent
zsh: no matches found: requests[security]

I am trying to run a python urllib2 script and getting this error: InsecurePlatformWarning: A true SSLContext object is not …

python security python-2.7 ssl python-requests
Python Xpath: lxml.etree.XPathEvalError: Invalid predicate

I'm trying to learn how to scrape web pages and in the tutorial I'm using the code below is throwing …

python xpath web-scraping python-requests lxml.html
Understanding Python HTTP streaming

I'm struggling to access a streaming API using Python and Requests. What the API says: "We’ve enabled a streaming …

python http streaming python-requests chunked-encoding
Using Chrome's cookies in Python-Requests

I'm trying to log in to the http://www.steampowered.com website using the cookies I've got from my Chrome …

python google-chrome cookies python-requests steam