B4A Question Error Forbidden b4a + php + mysql - calabozo2006    Apr 7, 2025 I create a query ConnSQL= "Select * From Autorizados Where IME = '"& IDAndroid &"'" Ejecuta_Registro(ConnSQL, "Lectura_Autorizacion") . . . Sub Ejecuta_Registro(Query As String, JobName As String) Dim Job As HttpJob Job.Initialize(JobName, Me) Log(Query) 'Job.PostString("http://192.168.1.13/SCReB/Lectura_SCReB.php", Query) 'works locally Job.PostString("http://risingline.cl/Lectura_SCReB.php"... B4A Question size field after POST - OliverA (first post)    Mar 19, 2024 the string correctly? Looks like you are adding a spurious quote at the end of the string
job.PostString...
job.PostString($"http://${globe.Serverip}/prova.php"$,$"action=gestfile... B4A Question httputils2 POSTSTRING instead of post, it does a GET - Erel (first post)    Jun 7, 2023   (1 reaction) 1. You should spend 3 minutes and learn how to use smart strings.
2. HttpJob.PostString sends a POST request. It doesn't matter whether it is http or https.... B4A Question HttpJob not connecting to Localhost - DawningTruth    Jan 27, 2023 : CreateResourceFromFile(Macro, Core.NetworkClearText) 'POST JSON AND FETCH Dim apiReturn As String Dim httpJob As HttpJob httpJob.Initialize("", Me) httpJob.PostString(apiUrl, jsonPostValue) httpJob.GetRequest.SetContentType("application/json") httpJob...: ApiFetch -> End Download Job") If httpJob.Success Then Log(httpJob.GetString) apiReturn = httpJob.GetString Else Log("Error: " & httpJob... B4A Question poststring pdf to base64 - Uniko Sistemi srl    Mar 15, 2024 Hi everyone.
I have a problem and I don't understand.
I make a call to a server with a php with job.PostString where I send a series of data including a base64 encoded PDF. Everything works as long as the pdf file does not exceed 1 MB
Does anyone know if there are maximum sizes? If I manually insert the base64 string into the server I can do it, but via code I can't.
Thanks everyone!... B4A Question How to pass this parameter into httputils to hit GET API - aeric (first post)    Aug 30, 2022 You can’t pass body to GET. Use POST with job.PostString... B4A Question sending message to waiting queue of uninitialized activity (submitjob) - aeric (first post)    Jun 21, 2023
Wait For JobDone (job As HttpJob)
This is not correct.
I think there is no point you add Try-Catch after job.Success
You can add Try before job.PostString... B4A Question Re: How call APIs written in PHP for Get, Post, Put, Delete methods - aeric (first post)    Aug 22, 2022 If you need pass JSON string then I think better to use POST or PUT methods. Which mean use job.PostString or job.PutString.... B4A Question WIFI -> Mobile data = Connection Timeout - Andrew (Digitwell)    Feb 7, 2019 I am having a connectivity problem with a particular app. If the app is started on Wifi and whilst the app is running, the phone switches to mobile data, all HTTP calls, (job.poststring, job.download) communications, Firebase Notifications etc timeout with a socket connection failure But, if the app is started on mobile, in the exact same location, then all if fine. I can't work out what is wrong here, the data connection at the location is not great, but it does work. Does anyone... B4A Question Session remains open. How can be closed? - Matt S. (first post)    Sep 7, 2025 will get very simple like this: Sub PostDataToPhp Dim Job As HttpJob Job.Initialize("MyJob", Me) Dim url As String = "http://yourserver.com/your_php_script.php" Dim parameters As String = "username=testuser&password=testpassword" Job.PostString(url, parameters) End Sub Sub JobDone(Job As HttpJob) If Job.Success Then Log("Server Response: " & Job.GetString) Else Log("Error: " & Job.ErrorMessage) End If Job.Release End Sub and... Page: 1   2   3   4   5   6   7   |