Cobub Razor
Cobub Toaster
Other Links
Cobub Razor
Cobub Toaster
Other Links
这是本文档旧的修订版!
The document introduces usage of PNS Web interface.
Here are the concepts of user channel and tag channel, which must be clarified:
Developers need to POST data to Web interface, and the Web interface will return result in JSON.
If the following is configured in the file of toaster.conf:
[web] bind localhost:8080
Then you can call Web Interface using the following Linux command, or call it by programming of HTTP:
curl –X POST –d POST_DATA http://localhost:8080/METHOD_NAME
inside
POST_DATA is POST data to PNS METHOD_NAME is the method name to be called