문제

Is it possible to activate a Xively device using cURL and if so could someone please post an example ?

The device is working well under the development account but I can't work out how to activate it.

thanks

도움이 되었습니까?

해결책

It should be the following one based on their documentation:

curl -k -L https://api.xively.com/v2/devices/ACTIVATION_CODE/activate -H "X-ApiKey: API_KEY_HERE"

Change ACTIVATION_CODE and API_KEY_HERE from the above url.

If you have problem with running the command, run it with adding -v option. And show us the verbose printout.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top