Hi
I am trying to send up the AuthData via a HTTPS secure post to an Apach server running PHP.
However when populate the values in setup factory, when the server receives the post the Auth data is blank.
I am using this code to populate the post:
mypost = {firstname = "peter"};
authData = {UserName="12345",Password=""};
result = HTTP.SubmitSecure("https://server.com/users", mypost, SUBMITWEB_POST, 20, 443, authData, nil);
But when we log the PHP _SERVER variables we get
PHP_AUTH_USER = []
Out apache server is using mod not cgi, so as far as I know it should all be working.
Has anyone successfully passed authdata to a server using HTTP.SubmitSecure call ?
Thanks
Peter
I am trying to send up the AuthData via a HTTPS secure post to an Apach server running PHP.
However when populate the values in setup factory, when the server receives the post the Auth data is blank.
I am using this code to populate the post:
mypost = {firstname = "peter"};
authData = {UserName="12345",Password=""};
result = HTTP.SubmitSecure("https://server.com/users", mypost, SUBMITWEB_POST, 20, 443, authData, nil);
But when we log the PHP _SERVER variables we get
PHP_AUTH_USER = []
Out apache server is using mod not cgi, so as far as I know it should all be working.
Has anyone successfully passed authdata to a server using HTTP.SubmitSecure call ?
Thanks
Peter
Comment