Why use separate verbs in web api?

208 views Asked by At

I started learning web api recently. I know in web api we use get verb to retrieve data, post verb to insert data, put verb to update data, etc. Someone asked me why we need separate verbs for insert,update, delete etc. We can do delete by using the verb post or can do update using verb delete. Why then use separate verbs?

I searched it on the internet, but I am not able to find exact answer to his question. So I thought to ask here. Sorry for asking stupid question.

0

There are 0 answers