Axios Uploading images appears in the background the request was rejected because no multipart boundary was found

//Upload using formdata No serialization required qs.stringify(params)
export function uploadImg(params) {
    return service({
        url: 'motionGraph',
        method: 'post',
        headers:{'Content-type': 'multipart/form-data'},
        data: params,
    })
}

Similar Posts: