Zach,
It is worth noting there that there are a number of "methods" in the
HTTP spec:
- GET, POST, PUT, DELETE, OPTIONS, TRACE, HEAD
The GET method is meant to only retrieve items, not to take actions as noted:
the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval
What you are doing here is confusing what is happening. You are POSTing, not GETing AND POSTing. It is not possible to do both at once. However, the PHP globals are confusing with their $_GET and $_POST names as $_GET just has query parameters and $_POST has actual posted form fields. Just use the $_REQUEST variable and it will be less conflating as it is an aggregate of GET, POST, and COOKIE.
So, as Manuel pointed out, you can add query parameters to the URL of your POST request, but in reality you are only POSTing.
Sincerely,
Joseph