A lightweight package to send POST and GET requests easy and fast.
Example:
const pretendre = require("pretendre");
// To send a get request ->
const GETresponse = await pretendre.makeRequest.get("https://pretendre.is-online.me");
const GETbody = GETresponse.body;
// You can also console log the response to see what's inside on it.
// To send a post request ->
const POSTresponse = await pretendre.makeRequest.post("https://pretendre.is-online.me");
const POSTbody = POSTresponse.body;
For any problem, create a request on Github, click here (just to clarify, using Github is a better way), or join our Discord server by clicking here.