Post Method

0
Hello, sorry I have almost no knowledge in mendix, however, I need to send data to an Api, I already have the json, I have created the export map, and I use it in the call rest api of the microflow This is the microflow, the idea is that I have a form that creates products, and that is passed as parameters to the microflow, the microflow first creates a requested object which is the one that will be sent.Then you create an Order Detail and this refers to the new order Finally I create the object with all the fields and their reference New order should have all the data to be sent, the problem is that when I click to save in the form (calling the microflow) it gives me an error. Could someone explain to me what I am doing wrong and how to fix it?, I am very stressed with this, and every time I ask I am directed to the same documentation that only talks about the GET method and not POST, even when I do something similar with the custom template it gives me the same error.    
asked
1 answers
0

Hi Angel,

 

If you want you can now try the new 'Consumed REST Service' for making REST calls, which should make working with POST a bit easier, because you no longer need to set up your own mapping. In Studio Pro 10.16 you can try it out, and in Studio Pro 10.17 that will be released soon the experience should be even better.

 

Regards,

 

Paul

 

 

 

 

answered