B4J Question [SOLVED]Http POST error on Background Worker

Peter Lewis

Active Member
Licensed User
Longtime User
Hi All,

I have a non-ui running with a background worker that at various times during the day sends a Post to some software running on the same PC.

It gives an error on line 107 of the Lib.

Here is the i am using

Code for Strobe:
Sub strobetoggle
    Log("strobe toggle")
    
Dim hjob As HttpJob
    hjob.Initialize("strobe",Me)
    hjob.PostString("http://192.168.0.230/RemoteCommands/SetOutputStrobeToggle","")
    If hjob.Success Then
        Log("Changed to Strobe")
        
    End If
    hjob.Release
End Sub

and this is the error

Any Ideas would be great. Thank you
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…