I am working with re-implementing a REST API for which client has no source code and is losing access to server...
I am finding the the caller is sending posts but without posted data. All of the parameters are specified in the URL or what would be the action if it were a posting form.
Like so:
"POST http://foo.com/api/rest/?method=users.add_user&token=foo§ion=bar&group=baz HTTP/1.1" 200 605 "-" "-"
To my surprise those parameters are neither in $_GET nor $_POST but only available in $_REQUEST.
Am I missing something here? Why aren't they in $_GET as part of the URL accessed? The obvious answer is "because this is a POST so GET is undefined"?
Can someone educate me on my misconceptions of those super-globals?