Getting response from a REST into another Module

Hello every one, I have one question for you guys.


I developed a mdule wher only live REST invocations, so I made  server actions for each REST invocation in order to consume those services into another module, in my second module I consume thouse server actions, but my problem is to asign the response of that server action to a variable and this is because  the Response varibale from de REST doesn't appear, how can I get the Response of my REST service into another module?


Best regards

Rafael

Hi,


You need to consume the REST API Methods from the other module. You can check here how to consume REST APIs:

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Consume_REST_APIs/Consume_One_or_More_REST_API_Methods 


Best regards.

Hi Rafael,

Any structure used as Output or Input parameter in a public action also needs the Is Public property set to true.

Regards,

Daniel