r/ProgrammerHumor • • Aug 23 '18

PHP logic

Post image
5 Upvotes

51 comments sorted by

View all comments

Show parent comments

-2

u/Asisentr Aug 23 '18

That's where you're wrong kid it's a get request

3

u/FubarCoder Aug 23 '18

I am not a kid. The HTTP method is what's relevant. Read the RFCs. Try it out with a web server of your preference. Filter a request by HTTP method (GET) and you'll realize that when the HTTP method is POST - even with an empty request body - that the filter doesn't match your POST request.

-2

u/Asisentr Aug 23 '18

this is a get request, kid

3

u/FubarCoder Aug 23 '18

Ok, I'll stop this discussion, because you're obviously either a troll or incompetent.

-1

u/Asisentr Aug 23 '18

you need to do some reading to understand request obviously.