0
I need help figuring out the cURL request required to send the following data to a URL.
{"requestid":"555555",
"partnermatchid":"10000-000-0000-0000-000",
"usercontext":{"ipaddressmasked":"XXX.XXX.X.XXX",
"useragent":"mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.10 (khtml, like gecko) chrome/28.0.1500.95 safari/537.36",
"country":"us"},
"pagecontext":{"pagetypeid":"2","numslots":"3"},
"istest":false}
My main issue is that I can't figure out how to format the payload above to be sent properly to a URL. So far, I have been utilizing the -d
and -X POST
commands. I am using Git Bash.
I appreciate your help and input.
Can you explain why it isn't working? Is the format wrong, or is the command itself failing, or is the server rejecting your input for some weird reason, or...? – CBHacking – 2015-09-25T09:07:17.803