Quantcast
Channel: Should this request be GET or POST? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Should this request be GET or POST?

$
0
0

My API accepts 2 parameters, product and quantity, and it returns a price.

At the moment this is a 'GET' request, which makes sense. But there are now new requirements to log every price that is returned in an audit table. This now feels like a POST?

Question

What is/where can I find the criteria for determining whether a request should be made as GET or POST?


Viewing all articles
Browse latest Browse all 3

Trending Articles



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