Some time ago I started to use the api call system of Ahsay and wasn't that difficult to understand.
In the webbrowser the API call works, but when I try to use C# only a part seems to get to Ahsay?
I'm using this code of CodeProject to do the API call: http://www.codeproject.com/Tips/497123/How-to-make-REST-requests-with-Csharp
In this code I send as API call:
{SysUser: system, SysPwd: system, LoginName: test, Owner: , Password: test}
and get as error code:
<err>[Error] Parameter LoginName is null/empty!</err>
If I sent the same requist as an URL like:
http://SERVERIP/obs/api/AuthUser.do?SysUser=system&SysPwd=system&LoginName=test&Password=test`
it gives as error code: <err>[Error] The password must be at least 6 characters in length!</err>
Can somebody explain to me why the LoginName isn't send or received in the C# code?