I have my spark core attached to the Cloud and have installed CLI on my laptop which is connected to same wifi, generated Access code and it returns expected value for one of my simple projects (which returns temperature).
Now I want to access the connected spark from a remote location but it gives me following error message
curl -G https://api.spark.io/v1/devices/mydeviceid /Temperature_ -d access_token=******
Error message “couldn’t resolve host access_token=******”
Does this mean I cannot access the core from another terminal which is outside my local network with the given access token? Please suggest!!