Current best practices for Get uses Routes and Query Params, not bodies. According to some posts I've read, there are some systems that will throw failures when trying to read a GET with a body.
However, I believe this system and way of thinking is outdated and it is well proved by simply reading this post and others. It is my personal opinion that GET requests should read something like the below to allow for HIPPA laws and privacy practices to be best implemented. Query strings and urls are easily read while sitting between two endpoints, leading to some crazy stupid query strings and other behaviors (like sending Gets in Posts) that simply are a symptom of this outdated practice. Unfortunately, I am not a major cog in the machine to elicit such change.
We should, very much consider a change to do this as practitioners and pioneers of our art, but we should also maintain the newest and current best practices until that time:
get/Humans?page=2&sort=desc
{
Name: "Bob"
Age:"44"
Region:"Greece"
}
aka
get/route?metasearchinfo
{
"private":"searchInfo"
}
The proposed example has HIPPA type data and private data in the body of a get, while having meta search data in the query string, and the exact URL path where we will query this data before that query. In this query, we betray no sensitive information, we aren't pretending a Post, and we are keeping things organized.
Again, you can feel free to disagree, but I think this kind of GET makes sense for a future that upholds privacy as an important ideal. Unfortunately, it isn't best practice at this time and will cause issues with some systems.