The error message is this: Error: The operation couldn’t be completed. (NSURLErrorDomain error -1001.)
Get example:
Post example:
Get example:
B4X:
Dim getThread As HttpJob
getThread.Initialize("getThread",Me)
getThread.Download("http://bbs.jiangnan.edu.cn/rainstyle/board_json.php?name=ComputerPark&page=1")
Post example:
B4X:
Dim param As String
param="uid="&TextField1.Text&"&psw="&TextField2.Text
Dim userlogin As HttpJob
userlogin.Initialize("userlogin",Me)
userlogin.PostString("http://bbs.jiangnan.edu.cn/rainstyle/apilogin.php",param)