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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1
  • 0.2.0
    0
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i fake-node-server

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vpetrychuk