I am new to REST. I want to know when to use get methods and when to use post methods. In the process of my study of literature, I came across this knowledge.
Actually, when I looked for the HTTP and post methods, I read that get does not encode the URL and does not send the URL URL
When I looked for get and post methods for relaxing, I read that the get method is used to retrieve data from the server, and the post method is used to add some data to the server.
But I also read that rest is nothing more than an agreement to use HTTP.
Therefore, I feel that some things contradict here. Are HTTP methods different?
Please clarify. Any suggestions on when to use the methods of obtaining and publishing are also welcome.
Resource from which I got this information:
https://www.ibm.com/developerworks/webservices/library/ws-ful/
http://www.cs.tut.fi/~jkorpela/forms/methods.html
javaMan
source share