Skip to content

VRMink/reply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published