curl-to-ruby
curl-to-ruby copied to clipboard
:arrow_down: Convert a curl command into ruby's net/http
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.0 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.15.9 to 10.4.1. Release notes Sourced from highlight.js's releases. 10.4.1 Security fixes: (fix) Exponential backtracking fixes for: Josh Goebel cpp handlebars gams perl jboss-cli r erlang-repl powershell...
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2. Changelog Sourced from yargs-parser's changelog. 15.0.0 (2019-10-07) Features rework collect-unknown-options into unknown-options-as-args, providing more comprehensive functionality (ef771ca) BREAKING CHANGES rework collect-unknown-options into unknown-options-as-args, providing...
Bumps [acorn](https://github.com/acornjs/acorn) from 6.3.0 to 6.4.1. Commits 9a2e9b6 Mark version 6.4.1 90a9548 More rigorously check surrogate pairs in regexp validator df0cf1a Mark version 6.4.0 5303412 Also export Parser via Parser.acorn...
It would be awesome if I can run this as an executable and paste a curl command in to print out the ruby. Happy to help make this happen if...
does not support custom address currently.
[Suggested by ragepurification on reddit](https://www.reddit.com/r/ruby/comments/4mudm1/curltoruby_convert_curl_commands_into_nethttp/d3z0fnj)
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...