You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed. I am actually kinda surprised it doesn't. Start by writing a spec that (fails to) differentiate(s) multiple methods on the same API. What do we return today? The first matching route? In which case I think we should consider making this recognize_path(path, verb = 'GET') vs. adding an options hash. What other options would make sense?
In a RESTful API, you'll use the same path multiple times, but with a different REST verb.
These will return the same endpoint:
GET /orders
POST /orders
So will these:
GET /orders/123
PUT /orders/123
DELETE /orders/123
Ideally, we'd be able to pass that in as an option:
The text was updated successfully, but these errors were encountered: