You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But put doesnt work. When i look at the network request, it is not even sent. The following is what a successful request should look like when i use the real axios.
Request headers -->
PUT /images/4066f071-82c1-45e2-8b7d-20f4875a6119.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=patchthecode%2F20220314%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220314T223914Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&partNumber=1&uploadId=ead03faa-359e-43df-8b4f-0561ac104edf&x-id=UploadPart&X-Amz-Signature=748d1674466bf767f038553e900ba01becde820c12a17021ca5f40012f5b3f45 HTTP/1.1
Host: localhost:9000
Connection: keep-alive
Content-Length: 75558
Accept: application/json
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1
Content-Type: application/json
Origin: http://localhost:3001
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:3001/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
presignedUrls[i] = a long URL
fileChunks[i] = a file blob
With the real Axios, you can correctly see the blob (file image) in the request payload on Chrome.
But with this redaxios, this payload is empty.
This isnt a CORS issue as the real axios works, and there are no CORS erros in the browser logs, and also, the request actually went through (but without a payload.. as mentioned above the payload is empty)
get, post works as expected.
But put doesnt work. When i look at the network request, it is not even sent. The following is what a successful request should look like when i use the real axios.
Request headers -->
Response header
I used Chrome for this.
Version 99.0.4844.51 (Official Build) (x86_64)
The text was updated successfully, but these errors were encountered: