N
N
NikRon52020-11-13 20:01:39
Python
NikRon5, 2020-11-13 20:01:39

What should be written to data in requests.post?

Please tell me what data should be transferred to data when posting a request, I tried a lot of things, but I always got a 409 error

s = requests.Session()
response = s.post(url, headers=headers, data=data)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-11-13
@bacon

How about reading the doc? https://requests.readthedocs.io/en/latest/api/#req...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question