1.0.0 • Published 5 months ago

rar-mock-server v1.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 months 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": {}
}
1.0.0

5 months ago

0.0.4

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago