PostString - httputils

Sirrab

Member
Licensed User
Longtime User
Hi All,

How do check to see if the jobdone has been completed when doing a poststring in a loop.

B4X:
For i = 0 To 5
        wdate = DateTime.DateParse(ttdate)
        ndate = DateTime.Add(wdate,0,0,i)
        dateindex = i
        getdate = DateTime.date(ndate)
        getdata.Initialize("getd",Me)
        getdata.PostString("http://192.168.1.23/postgres.php?usedate=" & getdate,"")
        Log(getdate)
    Next

Thanks
Craig
 

casefox

New Member
Licensed User
Longtime User
Hi Craig,

Can you share your code that how you are accessing the url using 192.168.1.23 .. i tried but no luck...

Thanks
 
Upvote 0

Sirrab

Member
Licensed User
Longtime User
Hi Craig,

Can you share your code that how you are accessing the url using 192.168.1.23 .. i tried but no luck...

Thanks

Hi CaseFox,

In the end I changed the php code to pass all the data in one go. So I didn't need to run a for loop anymore.

Craig
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…