R rQb Member Licensed User Longtime User Dec 24, 2016 #1 Was looking for some direction on how to perform a DELETE call using the latest OkHttpUtils2 library? I note the HTTP library included the InitializeDelete method, this however is not available in the OkHttpUtils2 library. Rgrds RQ
Was looking for some direction on how to perform a DELETE call using the latest OkHttpUtils2 library? I note the HTTP library included the InitializeDelete method, this however is not available in the OkHttpUtils2 library. Rgrds RQ
DonManfred Expert Licensed User Longtime User Dec 25, 2016 #2 you need to use the source module of the lib. Upvote 0
R rQb Member Licensed User Longtime User Dec 25, 2016 #3 DonManfred said: you need to use the source module of the lib. Click to expand... Not sure how I do that. Couldnt find any examples for delete post on forum. Have GET, POST and PUT up and running using OkHttpUtils2. Is the code similar. Upvote 0
DonManfred said: you need to use the source module of the lib. Click to expand... Not sure how I do that. Couldnt find any examples for delete post on forum. Have GET, POST and PUT up and running using OkHttpUtils2. Is the code similar.
Erel B4X founder Staff member Licensed User Longtime User Dec 26, 2016 #4 You can find the source code of OkHttpUtils2 here: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ See how HttpJob.Download is implemented. You just need to replace the InitializeGet with InitializeDelete. Upvote 0
You can find the source code of OkHttpUtils2 here: https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ See how HttpJob.Download is implemented. You just need to replace the InitializeGet with InitializeDelete.
R rQb Member Licensed User Longtime User Dec 27, 2016 #5 Got it. Greatly appreciate your assistance. Upvote 0