HOW TO: Google Cloud CORS Configuration for udStream
Google Cloud CORS Settings Configuration
This assumes that the User already has an existing Google Cloud Admin Account
Rest XML APIs
- Get an Authorization access token configured to use the appropriate OAuth credentials.
- Copy the following and save as an XML file:
<?xml version="1.0" encoding="UTF-8"?>
<CorsConfig>
<Cors>
<Origins>
<Origin>*</Origin>
</Origins>
<Methods>
<Method>HEAD</Method>
<Method>GET</Method>
</Methods>
<ResponseHeaders>
<ResponseHeader>*</ResponseHeader>
</ResponseHeaders>
<MaxAgeSec>0</MaxAgeSec>
</Cors>
</CorsConfig>
|
- Use cURL to call the XML API with a Set Bucket CORS request:
curl -X PUT --data-binary @<XML_FILE_NAME>.xml \
-H "Authorization: Bearer <OAUTH2_TOKEN>" \
-H "x-goog-project-id: <PROJECT_ID>" \
|
Numerous approaches could be used for changing CORS configuration in Google Cloud. For the full list, refer to the
official documentation (links to an external website)
Related Articles
HOW TO: Update CORS in cPanel
Updating CORS in cPanel Creating a Bucket This assumes that the User already has an existing cPanel Admin Account Updating CORS settings on cPanel allows you to stream models hosted from your cPanel web server On cPanel, enable Show Hidden Files ...
HOW TO: Hosting a Model on Amazon Web Services (AWS)
Loading my Datasets in AWS Creating a Bucket This assumes that the User already has an existing AWS Admin Account Select S3 from this menu, then Select ‘Create Bucket’ Next, upload the Converted .uds file to the bucket The Dataset should load ...
udStream Desktop: Common Connection Issues
Common Connection Issues Incorrect username or password You can change your password once logged in however if you have forgotten your account password, please go to https://udstream.euclideon.com/login.html and select 'Reset Password'. Advanced ...
HOW TO: Hosting a Model on Microsoft Azure
Loading my Datasets in Microsoft Azure Creating a Storage Account This assumes that the User already has an existing Microsoft Azure Admin Account Login into your Microsoft Azure account. This will take you to the landing page Under Azure Services, ...
udStream Browser: Guide to Getting Started
Getting Started with udStream - Browser udStream can run in a Browser with the ability to view hosted Projects and already-converted .uds models anywhere in the world, on any machine. We currently support Google Chrome, Microsoft Edge and Mozilla ...