fake-node-server

1.0.0 • Public • Published

Fake Server

The server with a set of endpoints that could be used for test purposes.
Cross Origin Resource Sharing (CORS) is enabled by default.
Feel free to add endpoints for your needs.

Run the server

npm install
npm start

Endpoints

You may use GET, POST, PUT or DELETE method with any of the following endpoints:

Common ones

  • /delay
    Fails within some time due to timeout error.

  • /delay/:amount
    Ends the request right after passed amount of milliseconds with empty response.

JSON

XML

HTML

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i fake-node-server

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • vpetrychuk