I am using libcurl. I know how to send form data. I want, however, to send a “request payload”, but I have no idea how to.
This is what an example of what I am trying to do, in Chrome Developer Tools: View image
Can anyone please help me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The command-line version of what you want would be something akin to:
(you’ll probably want to include cookie information for authentication too)
I don’t know how well that translates to libcurl, but that’s the essence sending a request payload with curl.