storjshare-daemon-proxy
v0.0.2
Published
reverse proxy which makes storjshare-daemon api available via http with basic-auth
Downloads
1
Readme
storjshare-daemon-proxy
reverse proxy which makes storjshare-daemon api available via http with basic-auth
Requests template:
Request:
POST /method
{"param": any} - optional post data
Response:
{
"result": Boolean,
"error": String,
"data": Object - optional if api returns something
}
Example:
Request:
POST /restart
{"param": "*"} - restarts all shares
Response:
{
"result": true,
"error": ""
}