User CDN Resource
Proxy function to retrieve data from the user CDN. This function is only used during development.
get
https://studio.edgeimpulse.com/v1
/api-usercdn
User CDN resource
cURL
Python
Node.js
curl --request GET \
--url 'https://studio.edgeimpulse.com/v1/api-usercdn?path=SOME_STRING_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
conn.request("GET", "/v1/api-usercdn?path=SOME_STRING_VALUE")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api-usercdn',
qs: {path: 'SOME_STRING_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Export as PDF
Copy link