When to use GET vs POST? (Caching vs Request size)

GET and POST are the most popular http methods used on the web. Each carries its own differences and properties. It can confusing to get to choose when to use POST over GET. I made a video explaining my take on the differences, use cases and the benefits of using GET and POST. Check it out, here is a summary table.

PropertyGETPOSTBodyNoYesData Request LimitYes (2048 bytes)No limitData TypeAscii onlyAny dataSafeYesNoIdempotentYesNoCaching and PrefetchingYesNoBookmarkableYesNoSecurity?NoYes

Watch the video here 




Referenceshttps://www.w3schools.com/tags/ref_httpmethods.asphttps://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET

 •  0 comments  •  flag
Share on Twitter
Published on May 26, 2019 20:04
No comments have been added yet.