Recent

Author Topic: [SOLVED] LAMW and openssl  (Read 1713 times)

schumi

  • New Member
  • *
  • Posts: 18
Re: LAMW and openssl
« Reply #15 on: September 27, 2019, 06:01:51 pm »
Solved!

I tried THTTPSend from synapse and everything working on both desktop and mobile without any changes.

Thank you all!
I am interestet too

thanks

Mrbeam

  • New member
  • *
  • Posts: 6
Re: [SOLVED] LAMW and openssl
« Reply #16 on: September 28, 2019, 10:52:55 am »
Demo
https://www.dropbox.com/s/5k5cvfxlgumrb69/AppDemoHttpGet.zip

Already compiled project for arm7, has OpenSSL libs compiled by me.

If you need 64bit or newer versions download OpenSSL libs from @josh link.

EDIT:
There are some problems with the demo.

After http.UserAgent := UserAgent; add line
Code: Pascal  [Select][+][-]
  1. http.Headers.Append('content-type: text/html; charset=UTF-8');

After ShowMessage('Too many redirects!'); add
Code: Pascal  [Select][+][-]
  1. l.Free;
  2. http.Free;

Replace jTextView1.Append(Utf8EscapeControlChars(response)); with
Code: Pascal  [Select][+][-]
  1. jTextView1.Append(response);
« Last Edit: September 28, 2019, 01:02:48 pm by Mrbeam »

 

TinyPortal © 2005-2018