Hello Community, it is possible that you can help me determine what could be the problem when consulting a REST API Get the code is the following
the error returned is the following :
ResponseError. Reason: , Response: {"Message":"User is not authorized to access this resource with an explicit deny"}
when making the query in postman I have no problems and the records are returned without problems
I also tried download2 and it doesn't work either, I would really appreciate your valuable help
Get APi:
ApiRquest.Initialize("estaciones", Me)
ApiRquest.Download("https://api.captahydro.com/devices")
ApiRquest.GetRequest.SetHeader("APIKey", "4c823e19-e47a-yyyy-yyyy-xxxxxxxxxxxx")
ApiRquest.GetRequest.SetHeader("OrganizationId", "29")
ApiRquest.GetRequest.SetHeader("Content-Type","application/json")
the error returned is the following :
ResponseError. Reason: , Response: {"Message":"User is not authorized to access this resource with an explicit deny"}
when making the query in postman I have no problems and the records are returned without problems
I also tried download2 and it doesn't work either, I would really appreciate your valuable help