Answers for "axio post update"

15

axios send post data

// Send a POST request
axios({
  method: 'post',
  url: '/user/12345',
  data: {
    firstName: 'Fred',
    lastName: 'Flintstone'
  },
  headers: {'Authorization': 'Bearer ...'}
});
Posted by: Guest on April-13-2020
1

axios patch

axios.patch(url, data, {
   headers: {
    authorization: accessToken,
   },
})
Posted by: Guest on November-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language