Need help with a HTTPS request

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

Aah - think i worked it out

Went to latest NR (my test environment was on NR 1.35) and it seems to work now using a function node to build the request and then pushing it into a Http request node

Craig

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.