This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 634
Do not use POST requests for everything #3
Labels
Comments
I agree that using |
Which FE adapter are you referring to? |
The routes in question are no longer needed on the server (see HospitalRun/hospitalrun-frontend@f185df1 and HospitalRun/hospitalrun-frontend@8b6a26d) and they will be removed from the server |
🎉 This issue has been resolved in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
ghost
added
the
released
label
Oct 15, 2019
🎉 This issue has been resolved in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Most routes are use HTTP POST even to fetch a resource, which does not conform to REST philosophy. They should be rewritten to use the appropriate HTTP verbs based on their function.
From a very cursory examination,
/chkuser
,/getuser
and/allusers
should be GET,/deleteusers
should be DELETE and/updateuser
should be a PUT/PATCH request.The changes are minimal, I can submit a PR if you are interested.
The text was updated successfully, but these errors were encountered: