Hi Rich,

Testing API calls from localhost, i notify authentication required is Bearer and is required include header calls with -H option, like this example

 curl -i http://127.0.0.1/emoncms/feed/value.json?id=9 -H "Authorization: Bearer APIKEY"

HTTP/1.1 200 OK
Date: Sun, 18 Mar 2018 12:22:58 GMT
Server: Apache/2.4.10 (Raspbian)
Content-Length: 15
Content-Type: application/json

803.96976151626

Test and share results.

Kind Regards,

Dan

1 Like