the basic pattern is: https://www.mytaglist.com/oauth2/authorize.aspx?client_id=[client ID of your app] (do not include the brackets)
If successful, the server will return a line: access_token=[access token] ...SAVE THIS VALUE
curl --silent -X POST -H "host: mytaglist.com" -H "Content-Type: application/json; charset=utf-8" -H "Authorization: bearer [access token]" -H "d: """ -H "Cache-Control: no-cache" -d '' "http://mytaglist.com/ethClient.asmx/GetTagList"curl --silent -X POST http://www.mytaglist.com/ethClient.asmx/GetTagForSlaveId -d '{slaveid:2}' -H 'Content-Type: application/json' -H 'Authorization: Bearer [access token]'0=Disarmed,1=Armed,2=Moved,3=Opened,4=Closed,5=DetectedMovement,6=TimedOutCorrect.0=Disarmed,1=Armed,2=Moved,3=Opened,4=Closed,5=DetectedMovement,6=TimedOut
{ "errors": [{ "message": "Object reference not set to an instance of an object." }]}
Cant seem to find anyone else having this problem so must be making a simple mistake but cant seem to figure out what it is.
Any ideas??
curl -X POST https://www.mytaglist.com/oauth2/access_token.aspx -d 'client_id=f4f72343-55ee-4f72-9401-c5b4748c8e50&client_secret=ae11922b-a510-4138-bd8c-d1bf24cf72c6&code=b1c6b9e9-c3a2-4200-9ffc-db4ff7681b17'
--
You received this message because you are subscribed to a topic in the Google Groups "Wireless Sensor Tags" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wireless-sensor-tags/OSQeLHsE4W8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wireless-sensor-tags+unsub...@googlegroups.com.
To post to this group, send email to wireless-sensor-tags@googlegroups.com.
To post to this group, send email to wireless-s...@googlegroups.com.
I'm don't believe there's any API that would allow you to just request a single piece of info from the tag.
--
You received this message because you are subscribed to the Google Groups "Wireless Sensor Tags" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wireless-sensor-tags+unsub...@googlegroups.com.
To post to this group, send email to wireless-sensor-tags@googlegroups.com.