that http should be used.
Exp, delete a song from playlist, with http:
PUT /songs?delete=name.mp3
With restful:
DELETE /api/v1/songs/delete/name
As you see restful is cleaner mostly than a pure only http.
Where requests are mostly non semantic (PUT for deletion, meh)
I think saying "with url parameters" is more accurate
also wouldnt a simple GET do it for the first example ?
Обсуждают сегодня