poyocore-front

1.0.4 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i poyocore-front

Weekly Downloads

2

Version

1.0.4

License

LGPL-3.0

Last publish

Collaborators

  • poyoman