Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

Why its recommended to use GET method for retrieve data in Rest API? [closed]

$
0
0

Why its recommended to use the GET method to retrieve data in Rest API?

As everyone knows POST method is comparatively more secure and feasible to get data.Most of the designed systems use GET to retrieve since it's idempotent and "theoretically" does not alter data on the server however, nowadays most of the GET requests also create logs on the server or alter caching.I'm wondering if is it not a good practice to use POST for all API services.


Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>