How to enable REST invocation globally for REST methods

Hello there,

We have several services in our CUBA application and each contain several REST methods. We are planning to activate REST invocation for these methods, and it requires considerable amount of effort to do it for all of them one by one. Is there a way that we can allow REST invocation for all the methods using a single global configuration in CUBA?

Thanks.

Hi,
There is no such global configuration, and it would be unsecure to open to REST all middleware services by default.

Note that there is an intention action that allows to quickly expose service method to REST, without needing to type text. See GIF here: CUBA Studio User Guide, “Exposing middleware service methods”

Thank you for the response.