What you need is the Http classe : 
var request = new Http(url);

request.set('method', 'POST'); 
request.writeObject(params);

request.getContent(function(result) { 
var ret = {}; 
try { ret =
JSON.parse(result); } catch(e){}; 
callback(ret); 
}); 

(see
https://github.com/APE-Project/APE_Server/blob/master/scripts/framework/Http.js)


Anthony 

On Fri, 25 Nov 2011 08:08:41 -0800 (PST), Sidacoq wrote:


> I search a APE equivalent to send a PHP file like this : 
> 
> new
Request.HTML({
> url: './locatisation/register_locatisation.php',
>
data: {id:id}
> }).send();
> 
> -- 
> 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 [1]
> ---
>
APE Project (Ajax Push Engine)
> Official website :
http://www.ape-project.org/ [2]
> Git Hub :
http://github.com/APE-Project/ [3]

  

Links:
------
[1]
http://groups.google.com/group/ape-project?hl=en
[2]
http://www.ape-project.org/
[3] 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/

Reply via email to