node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

fake-node-server

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