Akila

Akila

  • NA
  • 216
  • 34.5k

500 error accur while post in react

Feb 18 2022 9:56 AM

hi 

i am using axios for post all data will pass correctly but 500 error will accur.

  axios

          .post(`url, formdata, {

            headers: {

              Authorization: `bearer ${accesstoken}`,     

            },

          })

 

          .then((response) => {

            let status = response.data;

})


Answers (1)