Skip to Content
0
Aug 24, 2023 at 05:24 AM

SAP CAP: Sending a Post Request with Payload from external system to CAP Service

230 Views

Dear Team,

We have a requirement to create a User in IAS using CAP Service. Using the POST request with the JSON Payload, the CDS service is able to receive the payload, but due to de-serialization, the service crashes as shown below.

image.png

My sample CDS Service is shown below. I am using a string as input due to the fact that the JSON Payload schema contains special characters, that CDS/OData Service violates the odata policies with regards to identifiers.

image.png

So, do we have any middleware within CDS to serialize the incoming payload? So the system can process it.

Or Do we have any kind of soultion for the above issues?

Best Regards,

Prashanth.

Attachments

image.png (43.3 kB)
image.png (9.8 kB)