What is the need of having different types of request methods(get,post,put,delete)?
I can achieve whatever a get/put/delete request achieves using a post request (by writing whatever the logic is inside the method). Then what is the point of having different methods.
What is the point of having different types of request methods(get,post,put,delete)?
I can achieve whatever a get/put/delete request achieves using a post request (by writing whatever the logic is inside the method). Then what is the point of having different methods.