Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Bitmap Handy->Server (https://www.delphipraxis.net/202508-bitmap-handy-server.html)

Hobbycoder 12. Nov 2019 14:47

Bitmap Handy->Server
 
Hi,

ich will Daten vom Handy(FMX) an meinen Service(VCL) schicken. Für den reinen Datenaustausch nutze ich REST. Aber ich will auch Bitmaps senden.
Diese konvertiere ich in einen Base64-String. Allerdings bekomme ich am Server EIdReadLnMaxLineLengthExceeded 'Max line length exceeded', weil sicherlich die Daten der Bitmap zuviel sind.

Ist für sowas REST überhaupt das richtige? Wie könnte die Bilder sonst noch übertragen.

(Ich mach in FMX grad die ersten Gehversucht und bin schon froh, dass ich soweit gekommen bin).

sakura 12. Nov 2019 14:54

AW: Bitmap Handy->Server
 
Sendest Du die Daten als GET-String? Versuche mal POST ;-)

...:cat:...

Hobbycoder 12. Nov 2019 16:20

AW: Bitmap Handy->Server
 
:wall: Das war's.
Danke


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:29 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz