E
E
Eltorniado2021-12-05 15:32:33
Python
Eltorniado, 2021-12-05 15:32:33

I make a post request to the site - it gives The requested URL was rejected. Please consult with your administrator. How to decide?

page - https://id.x5.ru/tc5_web?response_mode=query&redir...

making a post request

data = {
    "phone" : "9531231234"
  }
  r = requests.post(url, data = data, headers = {'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36'})


print(r.text) produces the following:
<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 11223363498566870638<br><br><a href='javascript:history.back();'>[Go Back]</a></body></html>


How to get the normal content of the page and make a normal post request?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question