Root
curl --request GET \
--url https://api.example.com/import requests
url = "https://api.example.com/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.example.com/';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));API Reference
Root
Root endpoint.
GET
/
Root
curl --request GET \
--url https://api.example.com/import requests
url = "https://api.example.com/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.example.com/';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Response
200 - application/json
Successful Response
⌘I