Hola necesito ayuda para enviar por POST un json (palabras clave y valor) y a la vez una imagen. Alguna ayuda?
Which means content type multipart/formdata?
Try this extension
Taifun
Muchas gracias por responder pero, no donde encuentro la extensión para usar los bloques del post referenciado?
tell us more about this API.
ok i have restored the download link, try again please.
without reading your api documents, i am not sure it's the suitable extension for you.
If you know how to create an html form that accepts text and image, you can use the webviewer with the webviewextra extension
Ok, recibido lo probaré y daré mi feedback
He probado la extensión pero no funciona. Mi solución fue: codificar la foto en base 64, partirla en 4 partes y enviarlas a través de un JSON junto con las otras variables clave valor, luego en el servidor juntar las partes decodificar el base 64 y almacenar la imagen.
Which extension, webviewextra ? In which case I would beg to differ. You do not show how you were using it, nor what your backend server is doing? You solution sounds complicated and fraught with the opportunity for error.