Skip to main content

Simplify API Requests with Phantom Request

Effortless HTTP requests in one line of codeβ€”designed for developers who value simplicity and speed.

Key Features

πŸš€ Single-Line Requests

Perform HTTP requests in one line of code. No hassle, no boilerplate.

πŸ”’ Automatic Axios Integration

Leverage the power of Axios for flexible and reliable HTTP requests.

⚑ Real-Time Data Fetching

Automatically fetch the latest data after POST requests.

πŸ“‚ File Uploads

Effortlessly upload files (images, PDFs) with Cloudinary integration.

πŸ› οΈ Token Management

Handle custom headers and secure authorization seamlessly.

πŸšͺ Logout and Redirection

Easily clear cookies, local storage, and redirect users.

Installation

Get started by installing phantom-request via npm or yarn:

NPM:
$ npm install phantom-request
Yarn:
$ yarn add phantom-request

Ready to streamline your API requests?

Join the growing community of developers making their code cleaner and more efficient with Phantom Request.

Get Started Now