Im a php developer myself but i've never used cakePHP so im afraid i can't
help you with that, sorry
On Aug 6, 2012 8:50 AM, "Alexander Kohout" <[email protected]>
wrote:
> Hey Pablo,
>
> thanks for your answer. It gives me an idea of how to deal with the whole
> problem. But I'm currently facing a problem I don't understand:
>
> I don't want to make a SQL database query. Instead I want to contact my
> webserver and ask for authentication. Therefore, I thought an HTTP request
> would be the best choice and just copied the example from
> server/scripts/Http.js:
>
> var request = new Http('http://sub.local.dev/ape/authenticate');
> request.set('method', 'POST');
> // GET or POST data
> request.writeData('status', 'Hello!');
> request.getContent(function (result) {
> Ape.log(result);
> });
>
> I'm using CakePHP on server side, so I want to invoke my ape controller,
> but the callback is somehow never invoked. Has anyone an idea what I'm
> doing wrong here? If I enter www.google.com (as example), I get a result.
> But entering a localhost address does not return anything.
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/