Answer the question
In order to leave comments, you need to log in
Actions on the site
For example, there are actions on the site: delete news, edit and view.
Somehow it became not convenient to create a separate action (mvs) for each action.
Passing the flag (action=delete) is also somehow not beautiful.
I heard somewhere that such a thing (view, delete, edit) can be passed directly through the protocol or something like that.
Please tell me how it is done there, somewhere I saw it on Habré, but I lost the link, but I don’t remember the name at all.
Answer the question
In order to leave comments, you need to log in
The method by which the request is sent can be different.
The most popular and sufficient in most cases: GET/PUT/POST/DELETE.
Read about REST - everything is written there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question