I have installed curl on my Windows 10, 64 machine.
If I run curl from the command line and drop in the url from the “Log” section in PArticle Cloud console, I see “:ok”
The log page states to “run this from a terminal” (the curl command). What sort of terminal does this run in? Something like Putty?
Thanks
What you are doing is correct.
You just need to wait for new published messages to appear.
1 Like
bko
3
You run the curl command in shell like the cmd shell on Windows.
Why don’t you make sure it is working Ok by looking at the public stream for a common event like “temp”
curl -H "Authorization: Bearer 55aa.............6677" https://api.spark.io/v1/events/temp
where the part from 55aa…6677 is replaced by your token.
You should get a nearly continuous stream of events that all start with “temp”.
1 Like
Thanks Guys,
Is there some sort of application that enables this to run from Windows IDE instead of command line?
It’s known as Server-Side Events and can be displayed using Frontend/Web tools easily.