Hello.
I’m trying to get understanding of API but getting Authorization error:
{
"type": "CaligraphException",
"code": "caligraph_not_using_basic_authentication",
"message": "Please use Basic authentication.",
"status": "UNAUTHORIZED",
"errors": [
],
"httpStatusCode": 401
}
I’m requesting https://api.youcanbook.me/v1/{ProfileId}/bookings, where {ProfileId} is replaced with my profileID
I’ve tried using Basic auth with Authorization: Basic base64-of-login:pass
, I’ve also tried token auth with Authorization: token-from-dashboard
and Authorization: Bearer token-from-dashboard
All requests returns same 401 error.
Can you please point me to what am I making wrong when trying to fetch bookings list
UPD. I also get same error for any GET
url in the API, like https://api.youcanbook.me/v1/profiles
and https://api.youcanbook.me/v1/profiles/{profileId}