axios post request to send form data

You can post axios data by using FormData() like: And then add the fields to the form you want to send: If you are uploading images, you may want to use .append And then you can use axios post method (You can amend it accordingly) Related GitHub issue: Can’t get a .post with ‘Content-Type’: ‘multipart/form-data’ … Read more