{"id":18783933,"url":"https://github.com/sparkpost/postbin","last_synced_at":"2025-06-16T04:03:50.346Z","repository":{"id":35894878,"uuid":"40181373","full_name":"SparkPost/postbin","owner":"SparkPost","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-05T09:56:10.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-21T08:48:49.558Z","etag":null,"topics":["appteam"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SparkPost.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":"2015-08-04T11:42:35.000Z","updated_at":"2018-10-22T20:50:56.000Z","dependencies_parsed_at":"2022-09-08T17:32:02.458Z","dependency_job_id":null,"html_url":"https://github.com/SparkPost/postbin","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/SparkPost/postbin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fpostbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fpostbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fpostbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fpostbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SparkPost","download_url":"https://codeload.github.com/SparkPost/postbin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fpostbin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260092969,"owners_count":22957569,"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":["appteam"],"created_at":"2024-11-07T20:41:13.026Z","updated_at":"2025-06-16T04:03:50.293Z","avatar_url":"https://github.com/SparkPost.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postbin\n\n## Group Installation\n\nYou will need NodeJS installed to use this project. Once you've installed NodeJS and NPM successfully, install the postbin's dependencies by changing to the postbin directory and running `npm install`.\n\nTo run, use `npm start`, or to keep it running in the background, use `npm run forever:start` and `npm run forever:stop` to stop later.\n\n## Group Endpoints\n\n### GET /status/{statusCode}\n\nReturns an HTTP response with the given status code.\n\n+ Parameters\n  + statusCode (required, integer, `200`) ... The response status to return.\n\n### GET /wildcard/{chance}\n\nReturns an HTTP response whose status code is either 200 or 500, with the chance of success determined by the `chance` parameter.\n\n+ Parameters\n  + chance (required, integer, `2`) ... The HTTP request will succeed (return status 200) about one time in this many; for example, with a value of 2, approximately half the requests will succeed.\n\n### GET /auth/{authCode}\n\nReturns an HTTP response whose status code is either 200 or 400, depending on whether the given `authCode` matches the value of the request's `X-MessageSystems-Webhook-Token` header.\n\n+ Parameters\n  + authCode (required, string, `foo`) ... The authentication token value to compare against the request's `X-MessageSystems-Webhook-Token` header.\n\n### GET /logged/{statusCode}\n\nReturns an HTTP response with the given status code, and also logs the request body to the console.\n\n+ Parameters\n  + statusCode (required, integer, `200`) ... The response status to return.\n\n### GET /slow/{averageTime}\n\nReturns an HTTP response with status 200, after waiting between 0 and `averageTime * 2` milliseconds.\n\n+ Parameters\n  + averageTime (required, integer, `1000`) ... The average number of milliseconds to wait before returning a response.\n\n### GET /delay/{delayTime}\n\nReturns an HTTP response with status 200, after waiting exactly `delayTime` milliseconds.\n\n+ Parameters\n  + delay (required, integer, `1000`) ... The number of milliseconds to wait before returning a response.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Fpostbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkpost%2Fpostbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Fpostbin/lists"}