Presigned Url image upload get response

I am uploading an images using a presigned url currently this is my response
uploadResult 
Response {type: 'cors', url: 'https://s3.eu-west-1.amazonaws.com/foobar', redirected: false, status: 204, ok: true, …}
body: ReadableStream
bodyUsed: false
headers: Headers {}
ok: true
redirected: false
status: 204
statusText: "No Content"
type: "cors"
url: "https://s3.eu-west-1.amazonaws.com/foobar"[[Prototype]]: Response


This is the method I used:

            const formData = new FormData();

            Object.entries({ ...fields, file }).forEach(([key, value]) => {
              formData.append(key, value as string);
            });

            const upload = await fetch(url, {
              method: 'POST',
              body: formData,
            });

            console.log('uploadResult', upload);


I am wondering if I actually successfully uploaded the file, can I check that using the response from
upload
somehow?
Was this page helpful?