{"id":15696789,"url":"https://github.com/dolph/httpcli","last_synced_at":"2025-05-08T22:30:57.265Z","repository":{"id":3446166,"uuid":"4499201","full_name":"dolph/httpcli","owner":"dolph","description":"Simple command line HTTP client (compared to cURL).","archived":false,"fork":false,"pushed_at":"2016-05-12T13:13:25.000Z","size":19,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T09:39:40.627Z","etag":null,"topics":["curl","http","json"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dolph.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2012-05-30T19:33:25.000Z","updated_at":"2020-06-06T14:25:39.000Z","dependencies_parsed_at":"2022-09-04T03:11:51.175Z","dependency_job_id":null,"html_url":"https://github.com/dolph/httpcli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fhttpcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fhttpcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fhttpcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolph%2Fhttpcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolph","download_url":"https://codeload.github.com/dolph/httpcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253157602,"owners_count":21863138,"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":["curl","http","json"],"created_at":"2024-10-03T19:09:57.989Z","updated_at":"2025-05-08T22:30:57.244Z","avatar_url":"https://github.com/dolph.png","language":"Python","readme":"=======\nhttpcli\n=======\n\nJust another command line HTTP client (in the spirit of cURL).\n\nExample Usage\n=============\n\nHTTP verbs are specified as a positional argument, followed by the URL to be\nacted on. The goal is to reflect the feel of a standard HTTP header. For\nexample::\n\n    $ http get http://localhost/\n\nTo provide a request body (e.g. for a POST or PUT), use the third positional\nargument::\n\n    $ http post http://localhost/documents '{\"json\": \"document\"}' --content-type=\"application/json\"\n\nNote the arbitrary request header being specified at the end as a normal CLI\noption. Any such trailing CLI options will be passed as request headers::\n\n    $ http get http://localhost/ --x-forwarded-for=10.0.0.50\n\nThis would be translated as `X-Forwarded-For: 10.0.0.50` in the subsequent HTTP\nrequest. To illustrate this, we can enable verbose output::\n\n    $ http get http://localhost/ --x-forwarded-for=10.0.0.50\n    GET http://localhost/\n    X-Forwarded-For: 10.0.0.50\n\n    200 OK\n    Status: 200\n    Content-Length: 396\n    Content-Location: http://localhost/\n    Date: Wed, 30 May 2012 19:26:03 GMT\n    Content-Type: application/json\n\n    {\n      \"documents\": [\n        {\n          \"id\": \"c1be0fde3c0f4d27be15e1e3812cfd65b58325c3\",\n          \"value\": \"a\"\n        },\n        {\n          \"id\": \"67dc85dceacd3734ae53f1a69f56785dfe4c4c71\",\n          \"value\": \"b\"\n        }\n      ]\n    }\n\nBuilt-In Help\n=============\n\nExample help output::\n\n    $ http --help\n    usage: http [-h] [-t] method url [body] ...\n\n    Python HTTP CLI Client\n\n    positional arguments:\n      method       HTTP method to use (OPTIONS, GET, HEAD, POST, PUT, DELETE,\n                   TRACE, CONNECT)\n      url          URL to work with\n      body         Request body\n      headers      Additional request headers (keyword=value)\n\n    optional arguments:\n      -h, --help   show this help message and exit\n      -t, --terse  Only show the response body\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolph%2Fhttpcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolph%2Fhttpcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolph%2Fhttpcli/lists"}