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 Studio Chat / SendHTTPRequestASync and GetHTTPResponseReady Error Question

Author
Message
RGBZ
6
Years of Service
User Offline
Joined: 19th Apr 2017
Location:
Posted: 13th Nov 2019 20:23
I am using SendHTTPRequestASync and GetHTTPResponse to work with PlayFab for managing users and data. It is actually working quite well.

I am attempting to understand what happens when errors occur during this process.

I have verified that if the url I am connecting to is correct, but I misspell the rest method I am calling the string I get back from GetHTTPResponse is an empty string, which is easy to test for.

However, If the url is spelled incorrectly, all methods return a 1 making the connection, but the GetHTTPResponse returns na. It's not a string, it just has a value of na and testing in an if statement does not work. I was wondering if anyone else has seen this and how to test for this error condition in code.

I definitely appreciate any assistance or guidance.

Login to post a reply

Server time is: 2024-04-13 17:06:57
Your offset time is: 2024-04-13 17:06:57