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

Answer by Miguel Cabrera for Should this request be GET or POST?

Well, this is some subjective, but I think I'll let the API as GET request. You're not creating or updating the price (your main entity), auditing it's just a side effect.Also you can think, as a...

View Article



Answer by Dawid SoChii Sokół for Should this request be GET or POST?

GET - It perform when you first time enter to pagePOST - It perform when you make some actions(for example you will change data) on the page and after that you reload it

View Article

Should this request be GET or POST?

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...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images