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-requestYarn:
$ yarn add phantom-requestReady to streamline your API requests?
Join the growing community of developers making their code cleaner and more efficient with Phantom Request.
Get Started Now