Each HTML5 API call is a RESTful API over HTTP protocol. It takes the form of
And the parameter of the call is a data structure encoded as a JSON string, passed as the body of the HTTP request.
The return value from the API call is a JSON string in the body part of the HTTP response.
Article is closed for comments.