In fact, if you follow the REST principles, you must send a DELETE
request to delete a database entry. In this case, POST can be used to
add records in database and GET to list one/some of them.

On Oct 26, 9:35 pm, "euromark (munich)" <dereurom...@googlemail.com>
wrote:
> you are violating protocol
>
> never allow GET recquests to change database
> no edit, no add, no delete if you (or a bot) access an url
>
> always use POST for those actions!
> then this won't happen
>
> besides this, the above solutions could be working work-arounds
>
> On 27 Okt., 00:15, Miles J <mileswjohn...@gmail.com> wrote:
>
>
>
> > It uses an HTTP authentication mechanism... you know, that thing that
> > happens when your browser prompts your for a login, when you go to
> > something restricted.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to