Question
TechM
IN
Last activity: 12 Jan 2021 7:42 EST
[Service-Rest] Need to create Service Rest which accept both attachments and other values
Need to create Service Rest that accepts both attachments and other values
So how to configure the Service REST rule to accept multipart/form-data messages? As my Service should accept both attachments and other values, I am expecting it to be multipart/form-data
1. I created Service REST rule as per attachment (Service REST_multipart.jpg) .In this case i could parse only attachment data in pyRequestAttachment page.
2. I created Service REST rule with application/json as per attachment (Service REST_json.jpg) .In this case mapping is failing
Please Help.