score:1

Accepted answer

axios.put(response.url, values.file, options)

this is also a promise. maybe you can chain the then call after this promise.

axios.put(response.url, values.file, options).then(response => {
        console.log("successfully created post.");
        console.log(response);
      })

Related Query

More Query from same tag