Saturday 26 May 2018

App.post vs app.delete

Hi, I am beginner and I know what app.get, app.post, and app.delete do but I was just wondering what is the difference between app.delete and app.post. They seem to work in the same way: data is received from the client and according to it some actions are taken. If in app.post I would pass the position of the element that I want to delete and then add some middleware to delete it, it would work in the same way as app.delete. Am I right? What is the difference? Thanks for any answers :)

Submitted May 26, 2018 at 01:51PM by everek123

No comments:

Post a Comment