Verificar a API
curl --request GET \
--url https://api.hubfy.io/v1const options = {method: 'GET'};
fetch('https://api.hubfy.io/v1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hubfy.io/v1"
response = requests.get(url)
print(response.text){
"name": "Hubfy API",
"version": "v1"
}Fundamentos da API
Verificar a API
Consulta a identificação da API sem autenticação.
GET
/
v1
Verificar a API
curl --request GET \
--url https://api.hubfy.io/v1const options = {method: 'GET'};
fetch('https://api.hubfy.io/v1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hubfy.io/v1"
response = requests.get(url)
print(response.text){
"name": "Hubfy API",
"version": "v1"
}