I have a dummy text file on a webserver which I want to read with spiderbasic.
The file is at http://bhhomeweb.ddns.net/app6.txt
If I type this address into any browser I get the status 200 and the text content.
I can sent a Http Get command from Purebasic and get the correct status code and text content.
I tried with spiderbasic using the code below but it returns status code 0 and no data.
Code: Select all
Procedure HttpGetEvent(Success, Result$, UserData)
Debug Success
Debug Result$
EndProcedure
HTTPRequest(#PB_HTTP_Post, "http://bhhomeweb.ddns.net/app6.txt", "", @HttpGetEvent())
Thanks
// Code-Tags added (Peter)