Help required using API

163 views
Skip to first unread message

Aidan Bree

unread,
Dec 13, 2015, 5:11:26 PM12/13/15
to Wireless Sensor Tags
Hi,

I am trying to use the JSON API with Postman. I have gone through the process of creating the bearer/authorization token however I cannot get it to work

As per stage 4 in the instructions - I tried the sample line

curl -X POST https://www.mytaglist.com/ethClient.asmx/Beep -d '{id:1, beepDuration:1001}' -H 'Content-Type: application/json' -H 'Authorization: Bearer [access token you saved in step 3]'

and got 

{"Message":"Authentication failed.","StackTrace":null,"ExceptionType":"System.InvalidOperationException"}


I have also tried using Postman for Chrome and cannot authenticate 

Can anyone help?

Mark Pinther

unread,
Dec 26, 2015, 10:11:10 AM12/26/15
to Wireless Sensor Tags
Have you tried simple authentication in postman? I have not used API for my wireless tags but was able to use postman to pull data down from another unrelated source by using simple auth. I found postman to be less than intuitive and had to keep typing in my password etc.
Reply all
Reply to author
Forward
0 new messages