Open jlund7 opened 5 years ago
Also would I need to mimic the Request/Response Headers of a authentic post request as well?
and also for the Request Headers, i tryed to change the property for the post request "origin: chrome-extension://jbhloladaocgblieombglebggmkdkgjf" to http.setRequestHeader('origin', 'https://www.supremenewyork.com'); but it did not work and got overridden as the chrome-extension, could that be the problem?
I would checkout this CaptchaHarvester. It's actively supported and works without Electron or any automated browser. It also has no dependencies, completely native Python 3 code.
I am trying to send a POST request to https://www.supremenewyork.com/checkout.json and the token that is generated by your captcha harvester makes the post request throw back a 302 error. If I leave the g-recaptcha-response json property blank, then it comes back with a 200 success code, but the status is failed and it does not generate a slug for me to be able to send a GET request to check the checkout status to basically see if it is approved or declined. If anyone knows how to properly send a POST request to https://www.supremenewyork.com/checkout.json please let me know what is required to send as a property to there or if I could possibly be doing something wrong???