Turning a web app into a client/server "system"

Hi all,

I wrote a web app, and would like to offer to a non xojo-native client access to the apps services. Is there a way to expose, perhaps as web service, or rest API, server side services? How is his done in Xojo, i.e. what is best practice?

thank you,


Check out HandleSpecialUrl and HandleURL on the App class. You can do what you want from either of them.

Use HandleURL or HandleSpecialURL and implement whatever API you want.

Edit: Greg beat me to it.