We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conversion from USDZ to GLTF using cURL doesn't succeed


I managed to upload a file to the storage successfully using

curl -v -X PUT "https://api.aspose.cloud/v3.0/3d/storage/file/framedpicture.usdz" "Content-Type:application/octet-stream" -H "Authorization: Bearer xxxxx" --ssl-no-revoke --data-binary @framedpicture.usdz

(By the way, the official documentation has two errors here: correct is PUT not POST, and correct is --data-binary not --binary)

But now the conversion command doesn’t seem to work:

curl -X POST "https://api.aspose.cloud/v3.0/3d/saveas/newformat?name=framedpicture.usdz&newformat=gltf&newfilename=framedpicture.gltf&IsOverwrite=true" -H "accept: application/json" -H "authorization: Bearer xxxxx"

There is no answer from the API, and the token seems to have worked for the upload, so I assume it should also work for the conversion immediately thereafter.

Does anybody know what the problem could be?

Thanks! :grinning_face_with_smiling_eyes:

This topic has been moved to the related forum: https://forum.aspose.cloud/t/conversion-from-usdz-to-gltf-using-curl-doesnt-succeed/9461