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
thanks but I think I did not explain the issue well
Basically I want to give access to the core to other folks in the family who maybe remote so that they can look at temperature for example. Is that possible?
Yes, you can look at cloud connected cores from anywhere on the Internet. I have checked the temperature of my office from a thousand miles away, no problem.
One other point–does your variable really have an underscore ("_") in the name? That is unusual.
So you are suggesting I should be able to run the curl command on any system which has curl installed?
I can get the reading on my local system where the core is attached to via USB but when I give the same command to someone who is remote, they are getting the error message I mentioned above, Any suggestions?
Just to check, your url in your first example has a space in it " ", that is breaking it into two urls, which is why you’re getting “couldn’t resolve host access_token=…”. Curl thinks you’re giving it two urls, instead of just one.
Well, that space isn’t there in actual command but I tried to hide the device id and access_token and during that process I put in space here in the post.
Is there a way I can send you a private email with full command which includes device id and access code and you can try it for yourself on your terminal?