• Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

why --user used constantly in curl examples?

Started by Bitcoin, Feb 24, 2022, 04:46 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

why --user used constantly in curl examples?

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/encryptwallet/

what's it?


looks  like username:password but why then it's called 'myusername'


Source: why --user used constantly in curl examples?