Upload picture to rest server lazarus / 43-Android ---------------------------------------------------------------------- juank1971 · 2020-09-06 14:29 how can i upload a picture  to rest server ---------------------------------------------------------------------- mr-highball · 2020-09-06 14:42 Lots of ways, depends on how you want to do it. One way could be base64 encode the image and perform a POST with the contents in the body. Your rest server could then either decode and store on the filesystem, or store "as is" in some database. ---------------------------------------------------------------------- jmpessoa · 2020-09-06 17:30 QuoteOne way could be base64 encode the image.... You can use jBitmap [methods] component to support  base64 encode: GetBase64StringFromImage GetBase64StringFromImageFile GetImageFromBase64String ---------------------------------------------------------------------- juank1971 · 2020-09-06 20:10 very simple thanks