loading...

Axios Shorthand methods

lamhoanganh profile image Lam Hoang ・1 min read

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

Discussion

markdown guide