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 "Task=bake"http://localhost:49301/api/donut/run
{"Message":"No HTTP resource was found that matches the request URI 'http://localhost:49301/api/donut/run'.","MessageDetail":"No action was found on the controller 'Donut' that matches the request."}
In Fiddler I compose the request as follows:POST http://localhost:49301/api/donut/run?Task=bake