Guys,
I have a https request to make and have spent a few hours trying various things but just not getting anywhere
Wondering if someone could give me a hand on this one ? (probably bloody do it in 5 minutes !!)
This works from the cli when i add in a valid API token
curl -s -w '\\n%{http_code}' -H 'Content-Type: application/json' -H 'Authorization: Bearer {apikey}' https://api2.hiveos.farm/api/v2/farms/{farmid}
Which looks like this (API key changed) when completed and works from a linux cli
curl -s -w '\\n%{http_code}' -H 'Content-Type: application/json' -H 'Authorization: Bearer fzJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9hcGkiLCJpYXQiOjE2NTExMzAzMzcsImV4cCI6MTk2NjQ5MDMzNywibmJmIjoxNjUxMTMwMzM3LCJqdGkiOjY1ODcwMTQ5LCJzdWIiOjY1ODcwMTQ5fQ.XWck4ovne0rvKGXAqZIjwTBsytYAIbjUD7G7sHbjias' https://api2.hiveos.farm/api/v2/farms/1401987
Anyone ?
Craig