poyocore-front
v1.0.4
Published
Front protocol library for poyoCore
Downloads
3
Readme
poyocore-front
poyocore protocol
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%":[]
}
How to use ?
Asserting your server respects the protocol :
poyoCore.send('/my/api', 'helloWorld', {
parameter1: "value1"
}, console.log, console.log)