I sent a "put" request and received a cors issue:
This is the payload header:
I sure it's not a header issue and checked with my backend engineer. He says gcp upload (google cloud platform) needs xml formatted request(XHR). And I found axios' default is the JSON format.
Then I tried to find some workable solution like sending formData as payload.
How to send a file via Axios to Laravel
But it still doesn't work. Is there any sample of sending xml format request with vue axios?
If not, I have to turn back to use "new XMLHttpRequest();".
Thanks