We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codeplanet.io/principles-good-restful-api-design/
For example use POST for adding new item, and PUT for updating existing one. Right now POST are used for both.
Standardise to plural form for endpoints. E.g. POST /profiles, GET /profiles/{id}
The text was updated successfully, but these errors were encountered:
For the new Profile API I have tried to follow these. Updating the other APIs will break compatibility unless we implement a versioning mechanism.
Sorry, something went wrong.
One option is to put the refactored API under e.g. /api/v2 or similar, and keep the old one at /api for some time.
/api/v2
/api
mvsjober
No branches or pull requests
https://codeplanet.io/principles-good-restful-api-design/
For example use POST for adding new item, and PUT for updating existing one. Right now POST are used for both.
Standardise to plural form for endpoints. E.g. POST /profiles, GET /profiles/{id}
The text was updated successfully, but these errors were encountered: