{"id":25716341,"url":"https://github.com/interledgerjs/ilp-curl","last_synced_at":"2025-05-05T20:49:51.869Z","repository":{"id":67177234,"uuid":"105079171","full_name":"interledgerjs/ilp-curl","owner":"interledgerjs","description":"curl like CLI for ILP paid requests","archived":false,"fork":false,"pushed_at":"2019-03-03T23:56:46.000Z","size":39,"stargazers_count":4,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T23:31:35.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interledgerjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-27T23:20:25.000Z","updated_at":"2019-08-20T19:19:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d5729be-8b54-4a11-8e3f-714f3521741d","html_url":"https://github.com/interledgerjs/ilp-curl","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-curl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-curl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-curl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-curl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interledgerjs","download_url":"https://codeload.github.com/interledgerjs/ilp-curl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252575806,"owners_count":21770629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T14:53:05.296Z","updated_at":"2025-05-05T20:49:51.863Z","avatar_url":"https://github.com/interledgerjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ILP Curl\n\u003e curl-like CLI for ILP paid requests\n\n## Usage\n\nMake sure you're connected to Moneyd. You can connect to the\n[testnet](https://medium.com/interledger-blog/using-moneyd-to-join-the-ilp-testnet-ba64bd42bb14)\nor the\n[livenet](https://medium.com/interledger-blog/joining-the-live-ilp-network-eab123a73665).\n\n```sh\n# install the package globally to add binaries\n$ npm install -g ilp-curl\n\n# make a paid POST request with JSON parameters\n$ ilp-curl -X POST ilp.example.com/sms --json -F to='+15551234567' -F text='hello'\n\n# make a paid POST request with JSON parameters and a max amount of 1000 XRP drops\n$ ilp-curl -X POST ilp.example.com/sms --json -F to='+15551234567' -F text='hello' --amount 1000\n\n# make a paid GET request\n$ ilp-curl ilp.example.com/images\n\n# make a paid and authenticated request\n$ ilp-curl ilp.example.com/images --user admin:password\n\n# upload a file with unhash\n$ ilp-curl localhost:3000/upload --data @image.png\n# --\u003e { digest: '3b4f5076101d7a3890056bdda09b1b7d37f24725ba11344fb46a7f2dffe74a55' }\n```\n\n## More Options\n\n```\nilp-curl \u003curl\u003e [options]\n\nOptions:\n  --help            Show help                                          [boolean]\n  --version         Show version number                                [boolean]\n  --data, -d        body data\n  --data-raw        body data that does not load file with @\n  --json, -j        send data as json\n  --header, -H      header with data                       [array] [default: []]\n  --form, -F        form data                              [array] [default: []]\n  --max-redirs      max number of redirects                [number] [default: 0]\n  --request, -X     http method to use                          [default: \"GET\"]\n  --url             url to fetch\n  --user, -u        \u003cuser:password\u003e for basic auth\n  --max-amount, -a  maximum amount                               [default: 1000]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledgerjs%2Filp-curl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterledgerjs%2Filp-curl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledgerjs%2Filp-curl/lists"}