I do not see that arrives in response. by post request.

 import requests url = 'https://village-odnoklassniki.crazypanda.ru/post/send_request/11155' data = ({"lang": "ru"}, {"env": "Canvas"}, {"AUTH": "%3D"}) res = requests.post(url) print ("res") 

So it seems everything processes without errors. But it just outputs res

  • Well, so you ask the program to just output rec as a string and not as a variable - Twiss
  • Have you tried to display the value of the variable res instead of the string "res" ? ;) - MaxU
  • 1) print ("res") -> print("res:", res) 2) your data is not used - gil9red
  • Thank. How to use Data? - Cryosim

1 answer 1

 import requests url = 'https://village-odnoklassniki.crazypanda.ru/post/send_request/11155' data = ({"lang": "ru", "env": "Canvas","AUTH": "%3D"}) res = requests.post(url, data=data) print (res.status_code, res.text)