Post method: REST

0
Hi, I’ve been trying to figuring out how to make this POST method in Mendix. source: https://documentation.onesignal.com/reference#section-example-code-create-notification I’ve followed this doc: https://docs.mendix.com/howto/integration/consume-a-rest-service Which went good but at this point, I'm not sure how to set up my “request” = body? I’ve made an export mapping of the JSON required but now I’m not sure how to “fill this in”. If anyone has an idea, would be appreciated! THanks
asked
1 answers
1

Hi Vincent,

 

in your “Call REST” activity, be sure to set the method to POST:

 

Then, in the “Request” tab you can specify your export mapping:

 

 

 

Hope this helps!

answered