Page 1 of 1

Zway http API for other client than browser

Posted: 10 Sep 2015 10:43
by VinzVega
Hi everybody,

I'm trying to make a heavy client myself with http API (z-Way http API).

I began with that this http post wih basic authentification request (username/pass)

No luck :
HTTP/1.1 403 Forbidden
When I send JSON structure, I got
HTTP/1.1 500 Server Error

I definetly done something bad :)

Someone have a simple exemple of a such client written in c++/.Net/Delphi or what ever ? With detailled authentification process ?

I'm on the last RazBerry with standart z-Way image installation.

Thanks,

Vinz

Re: Zway http API for other client than browser

Posted: 10 Sep 2015 11:25
by pz1
It is decsribed in the FAQ http://razberry.zwave.me/index.php?id=13

Re: Zway http API for other client than browser

Posted: 10 Sep 2015 14:23
by VinzVega
Yes, thank you for your response !

Perhaps, I was too short in my first message : I apologize.
I have read all doc provide by z-way, and sure, the FAQ too.

If I fellow the faQ, with .Net, I got a tremendous HTTP/1.1 500 Server Error.

So, my question is simple : Is somebody have successfuly make this auth process with in a .Net compliant language, in c++, or in ObjectPascal compliant compiler (FPC, Delphi) ?

I will perhaps dig in JavaScript code or Ios one, it is very weird that the only exemple for close-to-metal compiled language is ObjectiveC.

Thx !

Vinz

Re: Zway http API for other client than browser

Posted: 10 Sep 2015 15:00
by pz1
Can't help you there unfortunately.
I have to leave this to the ZWay team

Re: Zway http API for other client than browser

Posted: 10 Sep 2015 15:06
by VinzVega
Hi

Just success now : Source stream encoding error !.

Thx !