Read value from cloud in visual studio


#1

Good day.

i need to get and print a value using visual studio that my photon is reading, its that possible?
i have the the same value being read in a web page using HTML, maybe i can get the value directly from the web?

maybe this url can be useful:
https://api.particle.io/v1/devices/ “Device ID” /Analogvalue?access_token=“Access Token”

any suggestion will be appreciated.

regards.


#2

I guess this question is generally a Visual Studio question: “How to send a HTTP request from Visual Studio?”

I know that VS features its inbuilt web browser, but I’m not aware of a feature that VS itself would issue a HTTP request.
Sure you can write add-ins that do that, but that again is a VS topic and not really Particle IMO.