{"id":23197187,"url":"https://github.com/jsnjack/httpecho","last_synced_at":"2025-10-12T12:12:28.813Z","repository":{"id":75802457,"uuid":"329282392","full_name":"jsnjack/httpecho","owner":"jsnjack","description":"HTTP echo server","archived":false,"fork":false,"pushed_at":"2025-01-12T13:03:48.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T16:57:38.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsnjack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-01-13T11:11:08.000Z","updated_at":"2025-01-12T13:03:48.000Z","dependencies_parsed_at":"2024-06-21T18:57:41.571Z","dependency_job_id":"57b6c8d3-31f0-4643-bde0-c96c0f38bf80","html_url":"https://github.com/jsnjack/httpecho","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fhttpecho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fhttpecho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fhttpecho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fhttpecho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsnjack","download_url":"https://codeload.github.com/jsnjack/httpecho/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312097,"owners_count":20918341,"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-12-18T14:28:51.147Z","updated_at":"2025-10-12T12:12:23.749Z","avatar_url":"https://github.com/jsnjack.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# httpecho\n\n## Overview\n\n`httpecho` is an HTTP echo server that allows you to test various HTTP request and response behaviors. It supports several query parameters to adjust the response behavior.\n\nBy default, it returns the request headers in the response. The order and case of the headers are preserved.\n\n## Installation\n```sh\ngrm install jsnjack/httpecho\n```\n\n## Usage\n\nTo start the HTTP echo server, use the following command:\n\n```sh\nhttpecho start\n```\n\n### Query Parameters\n\n- `sleep`: Delay the response for the specified duration. Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". Example: `?sleep=5s`\n- `status`: Return the response with the specified status code. Example: `?status=200`\n- `size`: On top of headers, add data of specific size to the response body. Supported units are \"KB\", \"MB\", \"GB\". Example: `?size=200KB`\n- `header`: Add additional headers to the response. Example: `?header=Content-Type:text/plain`\n- `verbose`: Log the full request (headers and body) to stdout. Example: `?verbose=true`\n\n### Example\n\nTo start the server on a specific address and port:\n\n```sh\nhttpecho start --bind 127.0.0.1:8008\n```\n\nTo start the server with a certificate for HTTPS:\n\n```sh\nhttpecho start --bind 127.0.0.1:8008 --cert /path/to/cert.pem\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnjack%2Fhttpecho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsnjack%2Fhttpecho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnjack%2Fhttpecho/lists"}