What are other's thoughts, opinions and experiences going from CSP to RESTful services, specifically when it comes to reusing code in CSP files?
One could define a method in CSP as follows:
<script language="cache" method="SubmitSomethingAwesome" arguments="aswesomeId:%Numeric">
And it's generated in
csp.mycsppage.SubmitSomethingAwesome(awesomeId as %Numeric).
Have people had success defining there rest call by calling the generated CSP classmethod?
Things that work well I've found: