0

I'm scraping an Amazon form and submitting it. When I submit the form via my code, it bounces me back to that same form with no errors but clearly something is going wrong. My hunch it's either an SSL thing or no session_id.

Regardless, I'd like to inspect the POST request to see what it looks like and compare it to what Charles returned when I did the request via the UI in my browser.

4

1 回答 1

2

只需通过 Charles 代理请求:

agent.set_proxy 'localhost', 8888

您可能还需要:

agent.verify_mode = OpenSSL::SSL::VERIFY_NONE
于 2013-10-20T02:04:50.577 回答