What I’m trying to do:
I have some code that currently sits in my own server and my app uses uplink to connect to it. I need to host this as a separate package of code that can be called by an API call by an external third part using their own front end interface.
Should I move this to an Anvil server module (either as a new app or within my current app but as a separate server module?) and package this as a separate API (using the API decorator function in docs) that will be called by the clients?
Looking at some forum posts and documentation, I think the answer is yes, we can - so is there a specific starting point where I can get started please?
I also want to understand what the charges might be per API call etc. and if there are limits to amount of data that can be passed through.
Also which plan is best suited for purposes like this?
What I’ve tried and what’s not working:
I’m not sure where to start, to be honest. Any pointers will be helpful.
Code Sample:
# code snippet
Clone link:
share a copy of your app