Page 1 of 1

Requirements for HTTP/JSON API

Posted: 13 Mar 2016 03:14
by GokMasE
Hi,

I am not a RaZberry owner (yet) and the bottom line is this: I am seeking to use a retro computer (a non PC/Mac computer, with ethernet card but without possibility to use SSL) to control a Z-Wave network through the Raspberry Pi/RaZberry by using the HTTP/JSON API. However, seeing some worrying news in forum posts and certain info in the changelog made me hesitate with this plan and now I need to check up on a few things before proceeding:

1) I read in changelog that HTTP requests needs to be authenticated as of 2.1.1
===================================================================
Question A: Does the HTTP/JSON API thus always require authentication or is there some way to enable unrestricted access to JSON API on a local (and trusted) network?

Question B: If authentication is an absolute must to utilize the JSON API, is there an up-to-date description on the authentication process somewhere?


2) For latest release (2.2.1) I saw these notes: "API changes: - Authentication process with Secure Login.
- Replaced http protocol with https for external APIs."
===================================================================

Question: Exactly what does external APIs refer to here?


I'd really appreciate any further information regarding my questions, and while I did search around the forum before posting I understand there is always the chance of me missing some already existing thread with the info I am looking for - if so, feel free to point me in that direction :)

Thanks in advance!


Regards,

/Joakim

Re: Requirements for HTTP/JSON API

Posted: 15 May 2016 05:45
by Mike Yeager
I use Python on the RPi itself to do some of mine. It's simple HTTP basic authentication and shouldn't be an issue for you.

Re: Requirements for HTTP/JSON API

Posted: 25 May 2016 01:25
by GokMasE
Thanks for the reply! Are you using 2.2.2 or an older version?

Basic authentication should indeed not cause any problems, I already made some tests with that to communicate with Domotizc. Basic authentication should work the same anywhere I assume, so this make me a bit more confident that I can get somewhere with Razberry as well.