http://www.perlmonks.org?node_id=1166908


in reply to Re^3: Restful Client Query
in thread Restful Client Query

I don't know for sure, but in REST I've always considered the resource to be defined by METHOD+route; if POST+/foo/bar exists, but GET+/foo/bar doesn't, then I'd accept a 404. But idk really since everyone has their own interpretation. I could also just be completely ignorant. That is a good possibility.

Replies are listed 'Best First'.
Re^5: Restful Client Query
by Your Mother (Archbishop) on Jun 30, 2016 at 21:00 UTC

    :P I agree there are some gray areas but in this case I think it's pretty clearly 405. The path exists, it's just limited to what method is allowed.