0

I want to send myfile.json for one POST parameter while specifying explicit value for another parameter with CURL. Is it possible?

Something like POST a=value1&b=<load and encode from my file.json>

0

If you look at the documentation you will find this syntax:

curl -XPOST -d b=@/path/postbody.json

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.