Skip to content
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

Proposal: Add a section for valid and invalide url patterns #11

Closed
gabiBrysch opened this issue Dec 7, 2015 · 1 comment
Closed

Proposal: Add a section for valid and invalide url patterns #11

gabiBrysch opened this issue Dec 7, 2015 · 1 comment

Comments

@gabiBrysch
Copy link

within Aka-I we discussed valid and invalid url patterns regarding collection resources and query parameters, we decided this way p.e. collection for users

  • to retrieve a list both urls, with and without trailing slash is valid: /users and /users/
  • to retrieve a list filtered with further query params, only the variant /users?offset= is valid, not the variant with the combination "/?" /users/?offset= in it, because the "?" gets interpreted as a further (id) value.
@Kodrafo
Copy link
Contributor

Kodrafo commented Jan 20, 2016

I added it to the uri components, I will inform you when I published it.

@Kodrafo Kodrafo closed this as completed Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants