Trouble getting desired response issuing a post requests
问题 I've created a script in python to get a 200 status code issuing a post http requests but when I run my script I get 403 instead. It seems that I followed the way how the requests is being sent in chrome dev tools. To do it manually - go to that page, select 6 as size and then hit the add to cart button. How can I do the same using the script below? Webpage address I've tried with: import requests from bs4 import BeautifulSoup main_url = 'https://www.footlocker.co.uk/en/homepage' post_url =