What is the content type value Shopify uses to generate signed cloud storage URLs for staged uploads

pavindu
Tourist
11 0 4

I'm trying to upload a 3D model to a product using Shopify using GraphQL admin API. So far I have been able to generate a signed URL with parameters, now I want to make a PUT request to that with a .glb file. However, that left me with SignatureMismatch error. When inspecting the reason, I found that content-type in my request should be equal to the value used to create the signed URL. But I don't know which Content-Type value Shopify uses to create the signed URL. If you know, please reply to this thread. Thank you.

0 Likes