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
So I just realized the endpoints for another concept I did don’t follow REST constraints, because they have verbs and stuff. I just took the sync endpoints and prepended /api to them.
I see how USER_DELETE could be /users/ with a DELETE method, but what about things like USERS_ACTIVATE? Only thing I can think of is hit /users/ but with a parameter that tells the server what to do with the user, rather than that being in the URL
The text was updated successfully, but these errors were encountered:
So I just realized the endpoints for another concept I did don’t follow REST constraints, because they have verbs and stuff. I just took the sync endpoints and prepended
/api
to them.I see how
USER_DELETE
could be/users/
with aDELETE
method, but what about things likeUSERS_ACTIVATE
? Only thing I can think of is hit/users/
but with a parameter that tells the server what to do with the user, rather than that being in the URLThe text was updated successfully, but these errors were encountered: