Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / HTML5 SetHTTPHost - Secure connection

Author
Message
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 2nd Jun 2016 09:44
I'm having trouble getting the HTML5 version of my code to connect to api.parse.com. I know that it's not an Access-Control-Allow-Origin issue, as I'm connecting and getting a json response with an 'unauthorized' error.

It seems like the username and password are not being passed with the connection. This wokrs fine on all other versions.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 6th Jun 2016 14:42
Currently the HTML5 API we are using doe not provide a field for the username and password. You could work around this by using a PHP script and checking the POST data for a string that only you know. Note that both of these methods do not create secure connections using encryption, everything is sent in the clear and could be eaves dropped on, only SSL creates a true secure connection.

Login to post a reply

Server time is: 2024-09-29 15:22:13
Your offset time is: 2024-09-29 15:22:13