-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResourceBuilder should treat trailing slash optional #73
Comments
@hurelhuyag We support the Google interpretation of this. The trailing https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash If you don't want this behavior then please don't place a Another way to think about this is that if your server and client use hypermedia (HATEOS) then you should never have to hardcode any URL except for the initial root, which is minted. From there every next request should be guided by response headers and/or response entity content. This means that the server will provide hypermedia guidance according to its own rules. |
@VaughnVernon Ok. Then which one is correct for our use case, |
(1) Assuming that (2) This URL To make another point about 1, any Note also that such request lines would be provided as K-V pairs. For example:
After a successful query, other options could be provided:
|
Yes, I agree. I have asked numerous times for that change. I thought it had already been made. Perhaps @danilo-ambrosio has already made that change but not built the new binary artifact. Would you please check and see if the change has been made? If not, please attempt to fix it and request @abdullahcalisir12 to review. Otherwise if it seems too difficult, please ask @abdullahcalisir12 to make the change. |
The URL editing issue was fixed. |
I believe that trailing slash "/" character should be optional in every request URL. For instance below example URL should treated same.
Currently if I use route like below snippet and call this endpoint with
http://localhost:18080/veterinarians/abc/
.this::veterinarian
method receiving variableid=abc/
. It must beid=abc
(without trailing slash)The text was updated successfully, but these errors were encountered: