I realize this is not recommended, but I'm wondering what the URL would look like, for example:
http://myserver.com/rest/info?param1=foo¶m2=bar
how would you append a body to that URL, I don't think &body would work.
Reason I'm looking at this is I'm looking for a way around a rather limited preset access to CURL from within my chosen language, so I'm wondering if I can use GET somehow instead of POST.
EDIT: Several people marked this as a duplicate of another question, but the essence of my question was "What would the body look like" where the other question is and I quote here from the other post:
My questions:
Is this a good idea altogether? Will HTTP clients have issues with using request bodies within a GET request?
Therefore I don't believe this is a duplicate at all, I believe those who marked it as such perhaps didn't really read either question much beyond the title.