storjshare-daemon-proxy

0.0.2 • Public • Published

storjshare-daemon-proxy

node npm license

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": ""
}

/storjshare-daemon-proxy/

    Package Sidebar

    Install

    npm i storjshare-daemon-proxy

    Weekly Downloads

    3

    Version

    0.0.2

    License

    GPL-3.0

    Last publish

    Collaborators

    • felixbrucker