Re: $_PARAMETERS Super Global Object
| From: | Ronald Chmara | Date: | Fri, 24 Feb 2012 22:48:08 +0000 |
| Subject: | Re: $_PARAMETERS Super Global Object | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58043@lists.php.net to get a copy of this message | ||
On Fri, Feb 24, 2012 at 2:40 PM, Larry Garfield <larry@garfieldtech.com> wrote:
>> To me, it's just a request for some content, and in a REST API that's
>> read-only, I just don't care if the consumer sends their request as
>> GET or POST. I'll cheerfully give them what they wanted.
> Except that per HTTP, GET and POST are completely different operations. One
> is idempotent and cacheable, the other is not idempotent and not cacheable.
> I very much care which someone is using.
People exploiting security would *never* think of
caching/replaying/modifying a POST request, that's just totally
unimaginable! It would take, like HUGE computational effort to like,
cURL it or just type it out!
er, no.
-Ronabop