Hi there,

I've just begun baking with Cake on an intranet project and the results
are great. A minor problem showed up today and searching the Wiki and
the Groups did not yield a solution.

My app receives POST-requests from a 3rd party server to a URL on my
Server, e.g. http://example.com/app/message/receive. The field names in
the POST request are predefined and can't be changed. I can easily
access the values through $_POST in the receive-method of my message
controller but I'd really like to use the internal data array for
built-in validation and code consistency.

Is there an easy and recommended way to translate custom POST fields
into the internal data array? Is there a recommended hook where I
should manually add keys and values to the data property of the
controller, like in beforeFilter?

Thanks you very much in advance and have a nice day.

Andreas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to