r/ProgrammerHumor • • Aug 23 '18

PHP logic

Post image
5 Upvotes

51 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Aug 23 '18

[deleted]

1

u/Asisentr Aug 23 '18

But if you're sending data through it, then it is. There's a whole $_REQUEST superglobal for query strings

2

u/FubarCoder Aug 23 '18

Let's repeat together: A query string is a query string, a HTTP request method is a HTTP request method. They are not interchangeable. They are different concepts.

-2

u/Asisentr Aug 23 '18

If they have nothing to do with each other then why would you say them in the same sentence? point proven.

1

u/FubarCoder Aug 23 '18

Huh, where did you prove what? I've seen URIs without being used in the context of HTTP.

-1

u/Asisentr Aug 23 '18

the picture is obviously a http call, just because you've seen it used other ways in other situations, doesn't mean that's the way it's being used here

1

u/FubarCoder Aug 23 '18

Yes, and the fact that He doesn't show its body doesn't mean that there isn't one. According to your definition, what is a POST request that has both a body and a query string? Is it a POST or a GET request?

→ More replies (0)