{"id":17816437,"url":"https://github.com/zebrajaeger/dummy-http-server","last_synced_at":"2025-10-06T17:56:32.560Z","repository":{"id":53317070,"uuid":"241340789","full_name":"zebrajaeger/dummy-http-server","owner":"zebrajaeger","description":"Http Server to show incoming requests.","archived":false,"fork":false,"pushed_at":"2022-12-10T18:38:20.000Z","size":48,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T03:50:24.449Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zebrajaeger.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}},"created_at":"2020-02-18T11:10:27.000Z","updated_at":"2025-02-18T16:54:37.000Z","dependencies_parsed_at":"2023-01-26T10:00:29.090Z","dependency_job_id":null,"html_url":"https://github.com/zebrajaeger/dummy-http-server","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/zebrajaeger%2Fdummy-http-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fdummy-http-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fdummy-http-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zebrajaeger%2Fdummy-http-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zebrajaeger","download_url":"https://codeload.github.com/zebrajaeger/dummy-http-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246779893,"owners_count":20832481,"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-27T16:38:08.809Z","updated_at":"2025-10-06T17:56:27.503Z","avatar_url":"https://github.com/zebrajaeger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dummy http server\n[![License: LGPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![npm version](https://badge.fury.io/js/%40zebrajaeger%2Fdummy-http-server.svg)](https://www.npmjs.com/@zebrajaeger/dummy-http-server)\n\nLogs incoming requests (GET,POST,...) to console and returns 200.\n\n## Installation\n\n    npm install -g @zebrajaeger/dummy-http-server\n\n## Start\n\nExec \n\n    dhs\n\nor\n\n    dummy-http-server\n\ninto terminal.\n\nDefault port is 2999.\nchange ist wit -p or --port option:\n\n    dhs -p 1234\n\n## Stop\n\nPress ctrl + C within console window.\n\n### Use\n\nMake a request with a browser:\n \n    http://localhost:2999\n    \nThe console log may look like this one:\n\n    headers: { host: 'localhost:2999',\n      connection: 'keep-alive',\n      'upgrade-insecure-requests': '1',\n      'user-agent':\n       'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36',\n      'sec-fetch-user': '?1',\n      accept:\n       'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',\n      'sec-fetch-site': 'none',\n      'sec-fetch-mode': 'navigate',\n      'accept-encoding': 'gzip, deflate, br',\n      'accept-language': 'de-DE,de;q=0.9,en;q=0.8',\n      cookie: 'io=6MrMv9kVc25N62FEAAA1' }\n    cookies: { io: '6MrMv9kVc25N62FEAAA1' }\n     body: {} \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebrajaeger%2Fdummy-http-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebrajaeger%2Fdummy-http-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebrajaeger%2Fdummy-http-server/lists"}