I have been trying to use the api, but have not gotten it to work. The nim code below outputs 403 Forbidden. Any ideas as to why it isn’t working?
let client = newHttpClient()
client.headers = newHttpHeaders({ “Content-Type”: “application/json” })
let body = %*{
“login”: “my_login”, “password” : “my_password”
}
let response = client.request(“https://api2.hiveos.farm/api/v2/auth/login”, httpMethod = HttpPost, body = $body)
echo response.status