Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

jacobbuck/axios-method-override

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axios-method-override

Lets you use HTTP PATCH, PUT and DELETE in by mimicking the HTTP method with a _method query parameter, and an X-HTTP-Method-Override header.

Usage

import axiosMethodOverride from 'axios-method-override';

axiosMethodOverride(axios);

const instance = axios.create();
axiosMethodOverride(instance);