pretendre

1.0.4 • Public • Published

pretendre

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.

Package Sidebar

Install

npm i pretendre

Weekly Downloads

0

Version

1.0.4

License

SEE LICENSE IN LICENSE FILE

Unpacked Size

16.2 kB

Total Files

6

Last publish

Collaborators

  • snows1000