-
Notifications
You must be signed in to change notification settings - Fork 337
API
xmrig edited this page Sep 25, 2017
·
6 revisions
In version 2.4.0 added HTTP API. If you build proxy from source, libmicrohttpd dependency added. If you want use API you need choice a port where is internal HTTP server will listen for incoming connections.
Example configuration:
"api": {
"port": 8080,
"access-token": "Optional Bearer Token used for authorization",
"worker-id": "Optional proxy name"
}
If you prefer use command line options instead of config file, you can use options: --api-port
, --api-access-token
and --api-worker-id
.