When you need to change the way a REST API method communicates with another system, simply edit the definition of the REST API method and change it.
Start by looking into the REST API documentation and understand what you will need to change when invoking the REST API method.
Update the REST API Method
- In the Logic tab, open the Integrations folder and REST element;
- Double-click on the REST API Method you want to change, under its corresponding REST API;
- Update the REST API Method information to reflect the change you want to execute;
- Click OK.
Adapt your Application to the New Functionality
In the Logic tab, open the Integrations folder and REST element. Verify that OutSystems updates the REST API Method definition according to your changes.
You can now adapt your application to reflect the updated functionality.