07-06-2021, 10:33 AM
Hi Alexandre!
PostDataDemo works well with xml and json files.
However, I could not resolve the transfer of image files (jpg).
The error is caused by aRequest.Files.Count = 0
I tried to set the Content-Type (client sent it the same way):
- RegisterContentType('image/jpeg');
- RegisterContentType('application/octet-stream');
Other server applications can receive images from this client application.
Can you help?
Thanks.
Regards
Robert
PostDataDemo works well with xml and json files.
However, I could not resolve the transfer of image files (jpg).
The error is caused by aRequest.Files.Count = 0
I tried to set the Content-Type (client sent it the same way):
- RegisterContentType('image/jpeg');
- RegisterContentType('application/octet-stream');
Other server applications can receive images from this client application.
Can you help?
Thanks.
Regards
Robert