coders.request
v2.0.1
Published
A best quality request module is easy and simple.
Downloads
68
Maintainers
Readme
Coders Request is a fast, efficient, and user-friendly library for making HTTP requests.
Some examples
const request = require("coders.request")
async function post() {
var post_link = await request.post("https://www.youtube.com/",{coders_request: true,String: "Hello",Number: 99999})
console.log(post_link)
};
post();
/*
View buffer;
*/
async function getBuffer() {
var { body } = await request.get("https://npmjs.org/package/coders.request/")
console.log(body)
};
getBuffer();
/*
No view buffer;
*/
async function get() {
var { body } = await request.get("https://npmjs.org/package/coders.request/")
console.log(body.toString())
};
get();
(async() =>{
console.log(await request.statusCode("https://github.com/"))
})();
Available for browser as UMD from unpkg
<script src="https://unpkg.com/coders.request"></script>