0.0.4 • Published 3 years ago

rar-mock-server v0.0.4

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
3 years ago

request as response mock server for local development

Run

default port 9001

npx --package rar-mock-server start

to run at a different port 3000

PORT=3000 npx --package rar-mock-server start

endpoints

shutdown the server gracefully

curl --location --request GET 'localhost:9001/shutdown'

any other requests will be sent back with a response

{
    "method": "",
    "headers": {
        "user-agent": "PostmanRuntime/7.26.3",
        "accept": "*/*",
    },
    "body": {}
}
0.0.4

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago