B4A Question HttpJob PostString timeout - Alessandro71    Jan 22, 2022 during a post operation, sometimes I get the following error
java.net.SocketTimeoutException: timeout
I'm trying to pinpoint the possible cause: can a very lenghty post data cause a timeout exception, or it can be caused only by a connection error or by the server not responding at all?
The timeout is already 30 seconds, and the message is logged exactly after 30 second from the post call... B4A Question Job.poststring problem - tufanv    Feb 18, 2020
Dim job As HttpJob
job.Initialize("block",Me)
job.PostString...Hello,
I need to post the data as json to an api with okhttp:
{"mode":"challenge... B4i Question [SOLVED] How to job.postString before app goes to background - pierrem    Jan 25, 2015 to enable it when the jobDone is fired ...
Not sure Apple will agree on this
:)
(and not sure... when jobDone is fired ... Doesn't sound possible with iOS.
Thanks in advance for yours advices
:)... B4A Question HttpJob.PostString connection timeout - Computersmith64    Feb 23, 2017 the B4J server from the B4A app using HttpJob.PostString, nothing happens for a while, then I get... As HttpJob
j.Initialize("send string", Me)
j.PostString(link, request)
from the B4A app, I get the connection timeout message. The "link" parameter in the PostString call... B4A Question issue with HttpJob postString - Alrikh (first post)    Feb 24, 2022   (1 reaction) Thanks Erel for tips.
I have found the issue, in aspx i must declare correctly content type if i want the post data propriety populate
Job.GetRequest.SetContentType("application/x-www-form-urlencoded")... B4A Question Set Host Value in HttpJob PostString - zabayin (first post)    Jan 31, 2021
The Host is set automatically based on the url.
Thank you very much for your answer.... B4A Question HttpJob PostString with ProgressBar - energypf (first post)    Jan 23, 2020
Type DownloadData (url As String, Target As Object, EventName As String, PostString As String....Put(data.url, J)
J.PostString(data.url,data.PostString)
If timer1.Enabled = False Then... B4A Question Is possible execute Post request with HttpJob PostString over https server? - Erel (first post)    Nov 29, 2017 To answer the original question (from the title):
Yes. HttpJob.Post works with https urls. No need to do anything special if the certificate is valid. If not then you can initialize OkHttpClient... B4A Question Httpjob java error calling job.postString - Gnappo jr (first post)    Aug 12, 2017   (1 reaction) It looks like your server script needs a GET request, so the call looks like this:
Job.Download2("http://192.168.0.50/webform1.aspx", _
Array As String("query... B4A Question Read image from Sql Server using Job1.PostString instead a cursor... - MarianoDuk (first post)    Aug 6, 2020 it to b64 before writing the blob? if so, you need to convert the b64 string back to binary for... is the poststring formulated), etc.
Thanks.
I stored images on database because it is more secure than... Page: 1   2   3   4   5   6   7   |