DEV Community

[Comment from a deleted post]
Collapse
 
rcarlson profile image
Robert Carlson • Edited

I want to clarify that while I understand your need to use a POST to get, you should always try to avoid this. A GET is a much cleaner and SAFE way to return data. When calling a GET you know that the state of your data is not going to change, whereas a POST communicates to the caller that something CAN happen to the state of the DB.