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 / [SOLVED] SendHTTPRequestASync bug?

Author
Message
2D Analyst
AGK Developer
19
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 26th Oct 2019 21:26
In AppGameKit Classic, I've created a function to get data from http and it worked fine. I copied the same function over to AppGameKit Studio and the query string doesn't seem to be passed?

SendHTTPRequestASync( HTTP_CONNECTION, urlString, queryString )

I experimented with the urlString and it was able to return response.

When I passed query string it didn't recognized it? Did anyone successfully passed query string using AppGameKit Studio?

The author of this post has marked a post as an answer.

Go to answer

2D Analyst
AGK Developer
19
Years of Service
User Offline
Joined: 2nd May 2004
Location:
Posted: 17th Nov 2019 16:15
This post has been marked by the post author as the answer.
After researching it, it turns out PHP GET will not recognize the value. Using PHP POST will read the values correctly. The function in AppGameKit Studio is fine, but the documentation could be updated with some examples on the PHP server side.

Login to post a reply

Server time is: 2024-04-13 17:58:05
Your offset time is: 2024-04-13 17:58:05