-
Notifications
You must be signed in to change notification settings - Fork 4.9k
RPC
Dr_rOot edited this page May 17, 2021
·
2 revisions
Motrix's JSON-RPC port is 16800, default rpc-secret is empty.
This document is referenced from https://aria2.github.io/manual/en/html/aria2c.html#rpc-authorization-secret-token
To use RPC method-level authorization, the user has to specify an RPC secret authorization token using the --rpc-secret option. For each RPC method call, the caller has to include the token prefixed with token:. Even when the --rpc-secret option is not used, if the first parameter in the RPC method is a string and starts with token:, it will removed from the parameter list before the request is being processed.