Preflight a public framework example
curl --request OPTIONS \
--url https://app.hookie.ai/v1/examples/submitconst options = {method: 'OPTIONS'};
fetch('https://app.hookie.ai/v1/examples/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/v1/examples/submit"
response = requests.options(url)
print(response.text)Ingest
Preflight a public framework example
OPTIONS
/
v1
/
examples
/
submit
Preflight a public framework example
curl --request OPTIONS \
--url https://app.hookie.ai/v1/examples/submitconst options = {method: 'OPTIONS'};
fetch('https://app.hookie.ai/v1/examples/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/v1/examples/submit"
response = requests.options(url)
print(response.text)Response
204
Cross-origin POST allowed.