PoyoCore is based on http protocol.
- All data received from the server have to be formated in JSON
- Some JSON root attributes may have special behavior
{
"%error%":[],
"%message%":[],
"%script%":[]
}
Asserting your server respects the protocol :
poyoCore.send('/my/api', 'helloWorld', {
parameter1: "value1"
}, console.log, console.log)