I try to send a request like follow:
https://api.spark.io/v1/devices/xxx/result?&umidity?access_token=xxx"
But result and umidity give me a error. How can send both variables?
I try to send a request like follow:
https://api.spark.io/v1/devices/xxx/result?&umidity?access_token=xxx"
But result and umidity give me a error. How can send both variables?
You can only poll one variable via 1 API call.
It’s not actually a Spark thing, but if you want to pass several “parameters” in an URL you’d seperate each param from the others with an &
rathern than with an ?
- but you usually don’t have a ?&
combination , as you’ve shown in your example, either.
And there is only one "
which seems a bit unbalanced, too
Thanks a lot for the answer
Thansk the " was mistake I have like suggestion from Kennethlimpc replay the request with the second variable