luke2012 Well-Known Member Licensed User Longtime User Jul 27, 2017 #1 Hi All, I have a couple of doubts about "HttpUtils2 - Web services" library. 1) This approach is cross platform / language ? I mean I can use it to call a web service implemented using php / asp or other platforms ? 2) Ho to do a call to a web service (for ex. that store a record within a remote db) ? I mean: Thinking about an existing web service that store some user data (filled by the user within the app) I can pass the user data to the web service using this code ? B4X: Expand Collapse Copy 'Send a POST request job.Initialize("Job", Me) job.PostString("http://www.mydomain.com/reguser.php", "firstname=John&lastname=Doe") Sub JobDone 'Job done code ... End If Can I use the same approach also for iOS Apps ?
Hi All, I have a couple of doubts about "HttpUtils2 - Web services" library. 1) This approach is cross platform / language ? I mean I can use it to call a web service implemented using php / asp or other platforms ? 2) Ho to do a call to a web service (for ex. that store a record within a remote db) ? I mean: Thinking about an existing web service that store some user data (filled by the user within the app) I can pass the user data to the web service using this code ? B4X: Expand Collapse Copy 'Send a POST request job.Initialize("Job", Me) job.PostString("http://www.mydomain.com/reguser.php", "firstname=John&lastname=Doe") Sub JobDone 'Job done code ... End If Can I use the same approach also for iOS Apps ?
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2017 #2 Note that OkHttpUtils2 replaced HttpUtils2. 1) Yes. 2) It depends on the server configuration. Upvote 0
R ronell Well-Known Member Licensed User Longtime User Jul 27, 2017 #3 luke2012 said: Can I use the same approach also for iOS Apps ? Click to expand... yes. same code Upvote 0
luke2012 Well-Known Member Licensed User Longtime User Jul 27, 2017 #4 Erel said: Note that OkHttpUtils2 replaced HttpUtils2. 1) Yes. 2) It depends on the server configuration. Click to expand... There are some Erel said: Note that OkHttpUtils2 replaced HttpUtils2. 1) Yes. 2) It depends on the server configuration. Click to expand... Erel Thanks for your reply OkHttpUtils2 is included in the last B4A release ? The code in the first point 1) is ok also for the OkHttpUtils2 library ? P.S. What you mean for the server configuration ? Is related to the Web Service configuration ? Upvote 0
Erel said: Note that OkHttpUtils2 replaced HttpUtils2. 1) Yes. 2) It depends on the server configuration. Click to expand... There are some Erel said: Note that OkHttpUtils2 replaced HttpUtils2. 1) Yes. 2) It depends on the server configuration. Click to expand... Erel Thanks for your reply OkHttpUtils2 is included in the last B4A release ? The code in the first point 1) is ok also for the OkHttpUtils2 library ? P.S. What you mean for the server configuration ? Is related to the Web Service configuration ?
DonManfred Expert Licensed User Longtime User Jul 27, 2017 #5 luke2012 said: OkHttpUtils2 is included in the last B4A release ? Click to expand... yes luke2012 said: The code in the first point 1) is ok also for the OkHttpUtils2 library ? Click to expand... yes Upvote 0
luke2012 said: OkHttpUtils2 is included in the last B4A release ? Click to expand... yes luke2012 said: The code in the first point 1) is ok also for the OkHttpUtils2 library ? Click to expand... yes
luke2012 Well-Known Member Licensed User Longtime User Jul 28, 2017 #6 DonManfred said: yes yes Click to expand... thanks for your replies @DonManfred. My doubts now is solved Upvote 0
DonManfred said: yes yes Click to expand... thanks for your replies @DonManfred. My doubts now is solved