besoft Active Member Licensed User Longtime User Feb 19, 2019 #1 Hi, I need help, I should send a Post with parameters to the server. PUT - http://xxx.xxx.xxx.xxx/api/transactions/10001?state=OK POST - http://xxx.xxx.xxx.xxx/api/transactions?serial_number=000000 Which library should I choose? So far, I have not dealt with this way of communicating with the servers, so I do not know this. Thank you Besoft
Hi, I need help, I should send a Post with parameters to the server. PUT - http://xxx.xxx.xxx.xxx/api/transactions/10001?state=OK POST - http://xxx.xxx.xxx.xxx/api/transactions?serial_number=000000 Which library should I choose? So far, I have not dealt with this way of communicating with the servers, so I do not know this. Thank you Besoft
Alexander Stolte Expert Licensed User Longtime User Feb 19, 2019 #2 besoft said: Which library should I choose? Click to expand... jOkHttpUtils2 B4X: Dim j As HttpJob j.Initialize("", Me) j.PutBytes("http://xxx.xxx.xxx.xxx/api/transactions/10001?state=OK",Data) Wait For (j) JobDone(j As HttpJob) If j.Success Then Log("image upload successfully") End If j.Release Upvote 0
besoft said: Which library should I choose? Click to expand... jOkHttpUtils2 B4X: Dim j As HttpJob j.Initialize("", Me) j.PutBytes("http://xxx.xxx.xxx.xxx/api/transactions/10001?state=OK",Data) Wait For (j) JobDone(j As HttpJob) If j.Success Then Log("image upload successfully") End If j.Release
besoft Active Member Licensed User Longtime User Feb 20, 2019 #3 Thanks for the answer, I will try today. I'll report if I can make it. Upvote 0
besoft Active Member Licensed User Longtime User Mar 3, 2019 #4 besoft said: Thanks for the answer, I will try today. I'll report if I can make it. Click to expand... It works! THX Upvote 0
besoft said: Thanks for the answer, I will try today. I'll report if I can make it. Click to expand... It works! THX