VRMink / reply

Reply any HTTP statuscode to any HTTP method call

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

  • sudo node index.js for port 80
  • PORT=8080 node index.js for any other ports

GET / PUT / DELETE / POST localhost/[code], where code is the http return code you wish.

Example: GET localhost/401 - Returns status 401 Unauthorized.

About

Reply any HTTP statuscode to any HTTP method call


Languages

Language:JavaScript 100.0%