There are situations where back-end does not need a payload for POST request. However in wso2 ESB has the payload that mediate before the back-end call. In order to drop the message payload you need to perform two tasks in the wso2 ESB.
- Create empty payload using Payload mediator
- use the FORCE_POST_PUT_NOBODY property to enforce.
Example is given below that demonstrate the use case.
No comments:
Post a Comment