Send a REQUEST request
axios.request(config)
Send a GET request
axios.get(url, config)
Send a DELETE request
axios.delete(url, config)
Send a HEAD request
axios.head(url, config)
Send a OPTIONS request
axios.options(url, config)
Send a POST request
axios.post(url, data, config)
Send a PUT request
axios.put(url, data, config)
Send a PATCH request
axios.patch(url, data, config)
Source: Axios Cheat Sheet
Top comments (0)