curl-to-ruby icon indicating copy to clipboard operation
curl-to-ruby copied to clipboard

--digest not working

Open krtschmr opened this issue 8 years ago • 0 comments

trying to get monero-rpc-cli which use --digest.

curl -s -u username:password --digest -X POST http://192.168.1.226:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method": "query_key", "params": {"key_type": "view_key"} }' -H 'Content-Type: application/json'

this request is working, the result of curl-to-ruby will return 401. same issue for HTTParty and RestClient.

it seems that they all do something different then curl does.

krtschmr avatar Sep 27 '17 05:09 krtschmr