Quantcast
Channel: Using cURL to post data - Super User
Browsing latest articles
Browse All 4 View Live

Answer by s3raph86 for Using cURL to post data

Using curl with the --data argument causes curl to POST, but also to send the arguments as part of the body of the request rather than as arguments passed via the URL.Given the error you're receiving...

View Article



Answer by chhenning for Using cURL to post data

The following works:curl --data ''http://localhost:49301/api/donut/run?Task=bakeThe parameter "--data ''" seems to be important so curl does a POST and not a GET.

View Article

Answer by davidgo for Using cURL to post data

While you might technically be doing a "POST" request in fiddler (Which I've not used, but I do know a thing or two about HTTP), it looks to me very much like you are not actually posting your query,...

View Article

Using cURL to post data

I try to post to localhost with some parameters in the URL. Everything just works fine in Fiddler. But cURL doesn't allow me to do it, with the error message below.curl --data...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images