{"id":19136861,"url":"https://github.com/mdub/hoick","last_synced_at":"2025-05-06T20:11:52.991Z","repository":{"id":7710285,"uuid":"9075310","full_name":"mdub/hoick","owner":"mdub","description":"A command-line HTTP client","archived":false,"fork":false,"pushed_at":"2013-08-19T06:02:55.000Z","size":172,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T19:20:52.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-28T11:01:30.000Z","updated_at":"2022-01-27T00:40:09.000Z","dependencies_parsed_at":"2022-09-02T10:01:19.287Z","dependency_job_id":null,"html_url":"https://github.com/mdub/hoick","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fhoick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fhoick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fhoick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fhoick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdub","download_url":"https://codeload.github.com/mdub/hoick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248828175,"owners_count":21168005,"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":"2024-11-09T06:35:43.341Z","updated_at":"2025-04-19T09:31:03.177Z","avatar_url":"https://github.com/mdub.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hoick\n\nHoick is a command-line HTTP client.  It's intended mainly as a tool for testing RESTful APIs, but you can use for something else, if you really want to.\n\nHoick is designed to be simple yet useful, and to play nicely in a Unix command pipeline.\n\n## Installation\n\nHoick is distributed as a Ruby gem, installable using:\n\n    $ gem install hoick\n\n## Usage\n\nHoick has subcommands modelled on HTTP verbs.\n\n### GET\n\nTo fetch a resource, use GET.  The response body will be printed to STDOUT.\n\n    $ hoick GET http://api.example.com/widgets/123\n\nIf you're interested in response headers too, add the \"`-h`\" flag.  Add the \"`--follow`\" flag if you wish to follow redirects.\n\n### PUT and POST\n\nThe \"PUT\" subcommand uploads data to a specified URL.\n\n    $ hoick PUT -T json http://api.example.com/widgets/123 \u003c widget-123.json\n\nBy default, the payload is read from STDIN, but you can specify the \"`-F`\" option to read it from a file, instead.\n\n    $ hoick PUT -F widget-123.json http://api.example.com/widgets/123\n\nHoick guesses a \"Content-Type\" from the file-name.  If a type cannot be guessed, or if the payload is sourced from STDIN, binary data (\"application/octet-stream\") is assumed.  Either way, the default can be overridden with \"`-T`\" (which can be either a file extension, or a full MIME-type string).\n\nThe \"POST\" subcommand works in a similar way.\n\n### HEAD and DELETE\n\nRounding out the RESTful actions, \"HEAD\" and \"DELETE\" do pretty much what you'd expect.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Submit a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdub%2Fhoick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdub%2Fhoick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdub%2Fhoick/lists"}