Api Rest with URL

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.

See: http://docs.spark.io/firmware/#spark-variable

1 Like

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 :wink:

Thanks a lot for the answer

Thansk the " was mistake I have like suggestion from Kennethlimpc replay the request with the second variable