Current collected state Current
Observed since 20 Oct, 18:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
200-ok
A cli http server to fire local requests at that always responds 200 OK.
A cli http server to fire local requests at that always responds 200 OK.
With cli options can customize status codes for common methods, body reflection, content-type header, and whether to return response body at all.
NodeJS, NPM.
npm install -g 200-ok
200-ok
output:
200-ok: listening on port 2000...
Crtl-Break in terminal to stop.
POST /foo
-------------------------------
cache-control: no-cache
postman-token: b54a15a5-121e-49db-b7f1-1e1ad73ae52e
content-type: text/plain
user-agent: PostmanRuntime/7.4.0
accept: */*
host: localhost:2000
accept-encoding: gzip, deflate
content-length: 14
connection: keep-alive
-------------------------------
body: Thisissomedata
len: 14
Type -h at the cli for usage.
Usage: 200-ok [-p port] [--del 200] [--get 200] [--head 200] [--patch 200]
[--post 200] [--put 200] [--content-type text/plain] [--response-body true]
[--reflect-post false] [--reflect-put] false [--reflect-patch] false
[--reflect-all] false [-h]
Options:
-p port [default: 2000]
--del DELETE [default: 200]
--get GET [default: 200]
--head HEAD [default: 200]
--patch PATCH [default: 200]
--post POST [default: 200]
--put PUT [default: 200]
--content-type Content-Type for responses [default: "text/plain"]
--response-body {"status':"message"} response [boolean] [default: true]
--reflect-post Reflect POST body [boolean] [default: false]
--reflect-put Reflect PUT body [boolean] [default: false]
--reflect-patch Reflect PATCH body [boolean] [default: false]
--reflect-all Reflect ALL bodies [boolean] [default: false]
-h Show help [boolean]
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
optimistEnvironment{
"local_name": "optimist",
"alias": false,
"peer_metadata": null
} | ^0.6.1 | runtime |
Source distribution
{
"integrity": "sha512-Gxbtis58Ql/U/qFeBmZknDj9EVQg9Lhr4YaEHVoi8QaWruLP5H/R580ULk9HJG2dOWGTjd4DVmR9Uf8SEIC0PQ==",
"shasum": "eadaed2730ec47380057dd422511e79a9bfdf456",
"tarball": "https://registry.npmjs.org/200-ok/-/200-ok-1.0.1.tgz",
"fileCount": 4,
"unpackedSize": 2481,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYZBQCRA9TVsSAnZWagAARDAP/Rb+5vi67BQo8rC2Tbc8\nWbhae0WM6IYg8B+pAhVt2CH5cK3EZXS1zoN91jPG+p/v9rJGH8nqvN5oaEHi\n8q9jox8KEndnLtG/t8Z25eo3S/dOjwNHmZLUDjzUnhM94SjQNhuKfHjk0Wuv\nkO7Q7kJGGrgVriAVD2HFp3u/ZLdCCyUJlit8Jf/0v9+4Sw9Sy8MstJG1uYcK\nvYTXjR6Qn+noYsUl6LyNGCaIqVh+6cnKLqWKqisi16Kd63+TEjLScPwaAnoM\n/kmg02JxBS8q8WMBMHKsQffk0P1gHawaG6Ccy+jKMMt3rMTCu7oUdGppYZd9\ncOMm5yEuoeKZkqKEl3N9pAVFGE51HdvnrRE3+HBKL5R+XsthT20iKcJe1Fvd\nK2C/BGMwbJdSyF7gf9TMZyF5AlcYhBEu+F0pGUlem9kkEKnQ+urE7nc8F18J\nruyaHreJNA2f0snc06SgROT3nVy9hHOo5rcTlEYzpAhu7fBAX0YUKBycbYeA\nQXjUnv4nt2w0nnZzmf/9ZrDAw/3w6th1N8lM7sFNHTE/IB9ZaD7rmcWOxDyM\n6lY/N+xxIePHotNej7gKQbvVBEbh25qnxKKFbej7Z8bX0DmyuxHtipPrI5iM\n8+lW57jpi1gqFnSbD3ZkezTcUoLOWJcfJOtlUN35S04rkfXdts//HPeWTZHs\nj+RD\r\n=i2tt\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQCJriljqv2wOBrSzaFqoVcwDxB+LEux76/TCtKCLR/KjgIhANkmeuZ1WlbHceg8UQAtHVy2AZSyHBtsarhqTB0C2J/0"
}
]
}Observed since 20 Oct, 18:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f1f2a819ecaeeb29e0a238423e3ecd2a2e7b03cfda081db02845b1dbde733981