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
Method GET for /api/something receives positive response
Method GET for /api/something/ receives 404
In my opinion if developer sends get to url api with slash he should receive positive response.
The text was updated successfully, but these errors were encountered:
arkadiusz-wieczorek
changed the title
Directing url with slash to url without slash
Directing url with slash to resoruce representing by url without slash
Sep 13, 2015
Although originally trailing slash in REST urls changed what the request means, I think it wouldn't hurt to create such redirection. It would be tricky to implement it with our current http handling structure (hapi) and most of the time REST paths are being accessed programatically, not by humans, so I don't consider the redirection high-priority
/api/something
receives positive response/api/something/
receives 404In my opinion if developer sends get to url api with slash he should receive positive response.
The text was updated successfully, but these errors were encountered: