mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-03 12:30:09 +00:00
Use indentation for command
This commit is contained in:
parent
9c7a0dce49
commit
cd789c899e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ Here is an example script to get the documentation for the various API calls. To
|
|||
|
||||
If for some reason you can't get lbrycrd-cli working to make these calls, make sure you passed -server when starting lbrycrd. If it still doesn't work, you can use this command if running lbrycrd with -server:
|
||||
|
||||
`curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/`
|
||||
curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/
|
||||
|
||||
USER and PASSWORD come from the above instructions and can be found in your lbrycrd.conf file, COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array [].
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue