3 ms·
There actually is difference between the two. From the RFC 2616 specs [1]: > GET: "means retrieve whatever information (in the form of an entity) is identified
by rmbyrro 5y ago
There actually is difference between the two. From the RFC 2616 specs [1]:
> GET: "means retrieve whatever information (in the form of an entity) is identified by the Request-URI" [2]
> POST: "used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI" [3]
[1]https://datatracker.ietf.org/doc/html/rfc2616/ https://datatracker.ietf.org/doc/html/rfc2616/
[2] https://datatracker.ietf.org/doc/html/rfc2616/#section-9.3 https://datatracker.ietf.org/doc/html/rfc2616/#section-9.3
[3] https://datatracker.ietf.org/doc/html/rfc2616/#section-9.5 https://datatracker.ietf.org/doc/html/rfc2616/#section-9.5