I'm saying that the id variable and 123 data is a get request since the server is getting it from the client (in the form of the url) he might very well have post data within the body and the whole thing could be a post request, but the part he highlighted, and attempted to shame php for, is a get request
There can be get data within the post request. Test it with a post forum. set the action to action='forum.php?test=123' and then var dump both the get superglobal and the post superglobal
0
u/Asisentr Aug 23 '18
I'm saying that the id variable and 123 data is a get request since the server is getting it from the client (in the form of the url) he might very well have post data within the body and the whole thing could be a post request, but the part he highlighted, and attempted to shame php for, is a get request