Hi All,
I'm working on a client for Corona SDK (iOS + android) written in
lua. I'm only in the preliminary testing stage. I am attempting to
send the connect command to the Ape server through the long polling
transport method. I am getting a parameter error but I don't see how
it is wrong. My post body is exactly as stated in the protocol
section on the wiki.
This is the CONNECT request on the wiki:
POST /? HTTP/1.1
Host: 0.ape.ape-project.org
[{"cmd":"CONNECT","chl":0,"params":{"transport":0}}]
Here's a printout of my POST body and the error message.
------------ Table: -------------
[body] => [{"cmd":"CONNECT","chl":0,"params":{"transport":0}}]
-------------------------------------------
self.origin = http://0.ape.apetest.local
called the requestCallback
------------ Table: -------------
[1] => table
(
[raw] => ERR
[time] => 1309549627
[data] => table
(
[value] => BAD_PARAMS
[code] => 001
)
)
-------------------------------------------
Can some one help me with this error?
Thanks.
Nathan Tran.
--
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/