1.0.0-2D • Published 5 years ago
http-response-info v1.0.0-2D
The HTML response codes for your API.
Installing
npm install --save http-response-info
Usage
For using the package you need to include the package as follow
let responseCodes = require("http-response-info");
To use the function for checking the definition of the response codes use the following function
demo.htmlResponseCodes({Response code});
Your return value is the response status value as a string
Example
demo.htmlResponseCodes({200});
/// Expected response = "OK"