Procedure HttpGetEvent(Success, Result$, UserData)
If Success
;Debug Result$
Debug UserData
Else
Debug "HTTPRequest(): Error"
EndIf
EndProcedure
; Get the content of this file, and display it in the debug window
;
HTTPRequest(#PB_HTTP_Get, #PB_Compiler_Filename, 123, @HttpGetEvent())
Procedure HttpGetEvent(Success, Result$, UserData)
If Success
;Debug Result$
Debug UserData
Else
Debug "HTTPRequest(): Error"
EndIf
EndProcedure
; Get the content of this file, and display it in the debug window
;
HTTPRequest(#PB_HTTP_Get, #PB_Compiler_Filename, "", @HttpGetEvent(), 123)