Get component data for embed
const options = {method: 'GET'};
fetch('https://studyfetchapi.com/api/v1/embed/component/{componentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://studyfetchapi.com/api/v1/embed/component/{componentId}import requests
url = "https://studyfetchapi.com/api/v1/embed/component/{componentId}"
response = requests.get(url)
print(response.text)Embed
Get component data for embed
GET
/
api
/
v1
/
embed
/
component
/
{componentId}
Get component data for embed
const options = {method: 'GET'};
fetch('https://studyfetchapi.com/api/v1/embed/component/{componentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://studyfetchapi.com/api/v1/embed/component/{componentId}import requests
url = "https://studyfetchapi.com/api/v1/embed/component/{componentId}"
response = requests.get(url)
print(response.text)Was this page helpful?