Let's say that I want to create a website where users will be able to create, edit and delete some kind of resources, for example posts.
I have created a RESTful API, so user can create a post by sending a PUT request to http://www.example.com/posts/my-new-awesome-post, delete it by sending DELETE request, etc.
But most users don't know anything about HTTP requests. They want to click a "New post" button and have the new post created. But HTML only allows me to use GET and POST.
How can I create a "New post" button that will send a PUT request? Or is "RESTful creation/deletion" implemented in a totally different way?
Let's say I'm using Spring + Thymeleaf.
POST
? – JayMee Jul 10 at 15:40