Answer the question
In order to leave comments, you need to log in
What is my mistake when working with requests?
Good afternoon!
I write the following request:
import requests
res = requests.post(' 89.105.199.78:9000/chatbot/openSession ', headers={'Content-type': 'application/json'}, data={'username':'ххххххх, 'password':'хххх'})
print(res)
print(res.text)
I get:
Don't try to hack the URI!
Tell me, pliz, what am I doing wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question