Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intraweb for Rest API POST - Image file
#1
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
Reply


Messages In This Thread
Intraweb for Rest API POST - Image file - by brsoft - 07-06-2021, 10:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)