How do I associate a body entity to a Microflow with a Send request (beta) activity in it?

0
I'm working on an SMS messaging app. I create a new message and then After Commit I call a Microflow called SendSms. Inside that Microflow, I have a Send REST request (beta) activity. It is a POST request to be made to an external SMS API. I'm getting an error that says "Request 'SendSms' does not have a body entity associated to it, as shown below.     How do I associate a body entity to it? I'm not sure if I've even created a body entity.
asked
1 answers
0

Since you are using the POST verb, you must supply a body for this request. In the new REST tool, you define the expected JSON body payload, and Mendix will create an NPE to hold this. When invoking the service from a Microflow, you need to create this object and pass in as a parameter.

answered