Hi,
this is from the manual:

GSTNet_HTTPGet(sHostname,sPath,sResult)

Description: client+server: sends a http get request port 80
Parameter:
STRING* sHostname the server address: i.e. "www.gstools.de"
STRING* sPath path to the requested file
STRING* sResult returns body of the requested path

Returns none

Remarks
this function is non-blocking, be sure there is no other request running via GSTNet_HTTPBusy()

sResult must be big enough to hold the data otherwise data is truncated and is available as soon as GSTNet_HTTPBusy() returns 0;

don't use str_create with a var, i got only problems.
c (string) handling is one of the plus points of lite-c.
so i think i'll upgrade before next year.


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files