📄️ GET Request
Add phantomGet to fetch API data without manually managing useEffect for fetching data.
📄️ POST Request
Add phantomPost to post API data with a single line.
📄️ PATCH request
Add phantomPatch with an ID, headers, token, and refetching the latest data after a successful patch
📄️ PUT Request
Add phantomPut with an ID, headers, token, and refetching the latest data after a successful patch
📄️ DELETE Request
- Dynamic Routing: You can pass id dynamically in the request or configure it globally when initializing the hook.
📄️ Additional Parameters
Token Header