Page 1 of 1

REST API: api key in URL

PostPosted: Wed Apr 27, 2016 10:07 am
by cw76
Hello,

It seems that the apikey is fairly sensitive in that it is what authorizes a client to access the AlarmDecoder device via REST.

Should we have the option to include this in the body via a POST call instead of on the URL via a GET call to avoid that data being logged in proxies or otherwise more easily stolen? Since the webapp does support HTTPS, the body would also be encrypted in transit.

I'm new to dealing with these types of APIs, so I may be off, but please let me know your thoughts.

Thanks!
Carlin

Re: REST API: api key in URL

PostPosted: Wed Apr 27, 2016 12:09 pm
by kevin
In future versions it will be part of Authorization Header, for now we had to get something usable out the door.

Re: REST API: api key in URL

PostPosted: Wed Apr 27, 2016 1:13 pm
by cw76
Great, thank you!