I’m using a hosted cart system to manage a ecommerce platform. The system uses form submission to add items to the user’s cart. I want to write a javascript library to allow me to add things to the cart with JS, but I will need to see what the platform is submitting so I can copy it appropriately.
Any advice how to best sniff out what the default form info is getting submitted to the form so I can copy it via jquery?
Thanks!
Open your browser’s console; Chrome has it built-in, Firefox has Firebug.
The entire request will be viewable in the network tab.
Another, more-complicated option is to set up a trivial local proxy and dump the request.