{"id":15373015,"url":"https://github.com/vi/line2httppost","last_synced_at":"2025-04-15T14:13:35.899Z","repository":{"id":62001261,"uuid":"557019655","full_name":"vi/line2httppost","owner":"vi","description":"Command-line HTTP client for sending a POST request to specified URI on each stdin line. ","archived":false,"fork":false,"pushed_at":"2022-10-25T08:20:04.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T14:13:30.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/vi.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}},"created_at":"2022-10-25T00:05:43.000Z","updated_at":"2024-12-06T03:42:40.000Z","dependencies_parsed_at":"2022-10-25T01:15:30.737Z","dependency_job_id":null,"html_url":"https://github.com/vi/line2httppost","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fline2httppost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fline2httppost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fline2httppost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fline2httppost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/line2httppost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249085429,"owners_count":21210267,"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-10-01T13:54:05.790Z","updated_at":"2025-04-15T14:13:35.882Z","avatar_url":"https://github.com/vi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# line2httppost\n\nSimple tool to read lines from stdin and post each line as separate POST request to a specified URL (TCP connection is reused though).\n\nGood together with [postsse](https://github.com/vi/postsse), allowing to feed CLI tools output to it.\n\n# Features\n\n* Connects to http and https, both http1 and http2.\n* Logging of errors during connection or failed response statuses.\n\n# Limitations\n\n* No advanced options like line delimiter\n* It waits for reponse from server before sending the next line, so RTT affects thoughput.\n* Each line is fully buffered prior to starting the request, no streaming/chunking.\n\n# Installation\n\nDownload pre-built executables from [Github releases](https://github.com/vi/line2httppost/releases/), install it from source code with `cargo install --path .` or from crates.io with `cargo install line2httppost`.\n\n# Example\n\n```\n$ line2httppost http://example.com\n123\nABC\n```\n\n```\nPOST / HTTP/1.1\ncontent-type: text/plain\nhost: example.com\ncontent-length: 3\n\n123\n\nPOST / HTTP/1.1\ncontent-type: text/plain\nhost: example.com\ncontent-length: 3\n\nABC\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fline2httppost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Fline2httppost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fline2httppost/lists"}