Closed juanespinosa closed 11 years ago
Hi,
I have two routes with different verbs, but only works the first route in the code... Is this a bug? or Am I missing something?
Regards,
[GET("upload")] public HttpResponseMessage Get() { return Request.CreateResponse(HttpStatusCode.OK); } [POST("upload")] public HttpResponseMessage PostFiles() { return Request.CreateResponse(HttpStatusCode.OK); }
I get this error
{"Message":"The requested resource does not support http method 'POST'."}
https://gist.github.com/juanespinosa/7536288
Sorry, seems to be a misconfiguration in my app... everything is ok
Hi,
I have two routes with different verbs, but only works the first route in the code... Is this a bug? or Am I missing something?
Regards,
I get this error
https://gist.github.com/juanespinosa/7536288