Kevin Golding Member Licensed User Longtime User Dec 12, 2015 #1 My app needs to post and get data from a web service. I read in the forums I should use OkHttpClient and OkHttpRequest, but I'm struggling to find example code, whereas the b4a user guide shows examples of HttpJob and this looks much easier to use. So, for a new app what should I be using please? Kevin
My app needs to post and get data from a web service. I read in the forums I should use OkHttpClient and OkHttpRequest, but I'm struggling to find example code, whereas the b4a user guide shows examples of HttpJob and this looks much easier to use. So, for a new app what should I be using please? Kevin
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2015 #2 You should use OkHttpUtils2: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content The usage is identical to HttpUtils2. Upvote 0
You should use OkHttpUtils2: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/#content The usage is identical to HttpUtils2.