How do I pull text file from a url?

Get help using Construct 2

Post » Sun Jul 31, 2016 2:19 am

Hello Everybody,

Back again with another advanced request, as I can pull data from a text file / xml file. Now I would like to be able to modify the text/XML file on a daily - bi weekly bases. But don't understand how to pull a web based file into an app.

So let's say it is on my server at http://amusementwithatwist.com/ (file name) instead of inside of the app.

what do I need to do to request the file?
B
29
S
13
G
10
Posts: 355
Reputation: 8,317

Post » Sun Jul 31, 2016 2:53 am

An Ajax request can take a URL, as long as it is on the same domain.
https://www.scirra.com/manual/107/ajax
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458


Return to How do I....?

Who is online

Users browsing this forum: LaDestitute, lukewasthefish, OBLIVION, yiuyiu6666 and 16 guests