JHttpClient send json to rest server lazarus / 43-Android ---------------------------------------------------------------------- schumi · 2021-05-30 21:07 hi, it's possiple to send json data (not property) to rest server with jHttpServer? I'm looking for an example thank's ---------------------------------------------------------------------- jmpessoa · 2021-05-31 02:53 I found this code (in my attempts) about SOAP...  maybe can help you, but I don't remember if it works .... (and you can try some "demos":  AppHttpClient****) Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TAndroidModule1.jButton1Click(Sender: TObject);var  clientConn: jObjectRef;begin  clientConn:= jHttpClient1.OpenConnection('http://192.168.1.3');   jHttpClient1.AddClientHeader('Content-Type','text/xml; charset=utf-8');  jHttpClient1.AddClientHeader('SOAPAction', '"urn:OSWIntf-IOSW#Wersja"');   content:=''#13#10  +''  +'';    jHttpClient1.PostSOAPDataAsync(content, 'http://192.168.1.3/soap/IOSW'); end; ---------------------------------------------------------------------- schumi · 2021-07-09 16:11 hi, I have try with PostSOAPDataAsync but dosn't work to send JSON to rest server. I want to use fpHTTPclient, so I have copy fphttpclient.pp, httpprotocol.pp, httppdefs.pp in ..\jni but when call GET or POST, app crash. What I'm wrong ? ---------------------------------------------------------------------- jmpessoa · 2021-07-09 16:28 QuoteI want to use fpHTTPclient................ but when call GET or POST, app crash. Can you send me your test project in "off" mode (by e-mail?)? so I can test your soap API and maybe I can, olso,  improve the jHttpClient.....