I sent a post requests using postman in this URL:
my form-data was:
u: https://www.amazon.de/sp?marketplaceID=A1PA6795UKMFR9&seller=A2VCC4LLAIPFLC&ref=dp_merchant_link
The output was 200. Everything is fine. But the automated python code is not working on my machine. Also, I tried manually but failed.
The automated code:
import requests
url = “Free Web Proxy • Unblock YouTube”
querystring = {“action”:“update”}
payload = “------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=“u”\r\n\r\nhttps://www.amazon.de/sp?marketplaceID=A1PA6795UKMFR9&seller=A2VCC4LLAIPFLC&ref=dp_merchant_link\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW–”
headers = {
‘content-type’: “multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW”,
‘cache-control’: “no-cache”,
‘postman-token’: “e19d7b2e-4562-2346-6594-5b4782bb4fb9”
}
response = requests.request(“POST”, url, data=payload, headers=headers, params=querystring)
print(response.text)