Is type: GET
faster than type: POST
cause I am curious how both work.
All I know is type: POST
never touch type: GET
yet.
What you guys wanna recommend on me whether I use get or post.
Is type: GET
faster than type: POST
cause I am curious how both work.
All I know is type: POST
never touch type: GET
yet.
What you guys wanna recommend on me whether I use get or post.
I don't think that one is faster than the other. but yes there are other differences.
GET
sends all data in Query string and it visible to every user on address bar, while it is not true for POST
GET
has certain data limits and you can't exceed that limit (Dependent on client and server and in some cases proxy server, usually around 8kb) . but for POST
you can send as many bytes
as you want. POST
.Performance GET or POST depends on how it is implemented on server side.
You should more concerned about RESTful convention here.
GET : Retrieve a representation of the entry specified by the url.
POST: Create a new entry.
Look more here.
Posting a data is better than an GET data because of some reasons
we cont send more data through the url so GET method is limited to some extent
we cont send special characters through url like Emails but through the post we can send any type of data
Post is bit secure than get because through the url you can see which data is going to send to the next page but through post we con't get them easily but we can also get them via inpect elemnts in that page
File or image uploadings are also done through the post method only but not with GET