B4A Tutorial [B4X] OkHttpUtils2 with Wait For - Erel    
Dec 25, 2025   
(60 reactions)   
tags: image, wait, Download, Http MySql, Wait For, ws is empty as it is no longer needed
j.Download("http://quotesondesign.com/wp-json/posts?filter....OpenOutput(File.DirInternal, "filename.dat", False)
File.Copy2(j.GetInputStream, out...("https://b4x-4c17.kxcdn.com/images3/code.png", ImageView2)
End Sub
The images...
B4A Question OkHttpUtils2 - PostString fails - LGS (first post)    
Jan 25, 2025What I mean is that in other systems (Web) the API is working without problems.
The client only ind...
link:
Hi teddybear, drgottjr
The API is running in other systems
It chance the Url https//....v3... Yo h...
link: Hi teddybear, drgottjr
The API is running in other systems
It chance the Url https//....v3... Yo ht...
link: what is the new api? how is it different from the old api?...
B4A Question OKHttpUtils2, Progress_Sub and POST Request? - Moosi    
Jul 22, 2017Hi all,
I´m looking for a solution to download a large file (>50MB) with progress.
But I need to send the Request as POST string.
Does someone has an Idea how to do this?
thanks in advance
Moosi...
link: , PostString As String)
So I added the PostString to the Type
then I changed the
Public Sub StartDownload...
link: See this example: https://www.b4x.com/android/forum/threads/download-huge-files-with-httputils2...
B4A Question OkHttpUtils2 - PostString with Download to receive data from the POST - BrotherEarth (first post)    
Dec 2, 2022), the response was empty for PostString for me. But when I read that "Wait For JobDone"... have that code.
To close this forum post, I figured I would post the code snippet, it might be helpful to...
jobLogin.Initialize("JobLogin", Me)
jobLogin.PostString("https://XXXX.com/login"...
link: /results/?query=okhttputils2+post...
link: of Concept apps super fast and easy!
How can we POST then receive the response payload?
Background...
B4A Question [SOLVED] Broken PostMultipart in OkHttpUtils2 / iHttpUtils2 / HttpUtils2? - Sandman    
Oct 26, 2017I have found something in the OkHttpUtils2 / iHttpUtils2 / HttpUtils2 source code that confuses me....
'Sends a multipart POST request.
'NameValues - A map with the keys and values. Pass Null if... PostMultipart(Link As String, NameValues As Map, Files As List)
Dim boundary As String = "...
link: Thanks for the explanation Erel, appreciated....
link: Moved to the questions forum.
There is no bug here as it works correctly. It adds the "prefix" once. You are correct that ...
B4A Question PostMultipart on OkHTTPUtils2 - rossati    
Feb 26, 2017Hello
my be is my error, but I am unable to send more of one file whith PostMultipart.
Obviusly my File list contains more than one file, but only the last is sent.
Thanks
John Rossati...
link: Please use code tag when posting code!
http://snapshots.basic4android.de/codetag001.png
http...
link: Instead I corrected in:
If pictures.size > 0 Then
For i = 0 To pictures.size - 1
Dim f...
link: Thanks to alimanam and DonManfred
My mistake was to create and initialize MultipartFileData once i.e...
B4A Question OkHttpUtils2 PostString with progress? - Erel (first post)    
Jul 1, 2021   
(2 reactions)A more complex request with progress is available here: https://www.b4x.com/android/forum/threads/b4x-post-multipart-requests-file-uploads-with-progress.130181/#content
You can do something simpler for a PostString request....
link: see:
https://www.b4x.com/android/forum/threads/okhttputils2-progress_sub-and-post-request.81961...
link: Most examples I've seen are for downloading something with progress. How can I do a PostString...
B4A Question OkHttpUtils2 - POST with header - Argonc (first post)    
Oct 18, 2018Solved without headers, but THX!...
link: -with-okhttputils2.39413/...
link: http://ec2-34-244-221-70.eu-west-1.compute.amazonaws.com:5000/ ?
I try j.PostString ("http...
B4A Tutorial [B4X] OkHttpUtils2 / iHttpUtils2 and accept all option - Erel    
Jul 27, 2025   
(17 reactions)Note that OkHttpUtils2, jOkHttpUtils2 and iHttpUtils2 are actually the exact same b4x library.
Starting from v2.90 it is very simple to initialize the internal http client with the 'accept all... by adding the following conditional symbol (Ctrl + B):
HU2_ACCEPTALL
There is another configurable conditional symbol:
HU2_PUBLIC - makes the http client variable (hc) a public variable. This can be used in...: https://www.b4x.com/android/forum/threads/ntlm-again.110485/#post-690641
Note that in...
B4A Question OPTIONS rather than GET PUT and POST in OkhttpUtils2? - kostefar (first post)    
Nov 4, 2017Cheers nwhitfield, I´ll see if my app can live without it :)...
link: The OPTIONS header usually just gets information about a resource, rather than actually being part of a transaction. Presumably you...
link: this with OkhttpUtils2?
Thanks in advance!...
Page: 1  
2  
3  
4  
5  
6  
7