1
Staff I’m having a little trouble to carry out an API authorization so I’m doing the code
fetch('https://api.api-futebol.com.br/v1/',{
"method":"GET",
"headers": {
"Authorization: Bearer test_a8c37778328495ac24c5d0d3c3923b"
}
}
).then()
the documentation asks in this way :
curl -X GET https://api.api-futebol.com.br/v1/campeonatos \
-H "Authorization: Bearer test_a8c37778328495ac24c5d0d3c3923b"