Connor
Connor2y ago

hey all is it possible to call local

hey all! is it possible to call local APIs from an action?
2 Replies
Michal Srb
Michal Srb2y ago
Hey @Connor , depends on what you mean by "local APIs". Queries and mutations can be called via ctx.runQuery and ctx.runMutation. You can fetch from another server (including your own), via the builtin fetch function.
ian
ian2y ago
If you're running your server on your laptop's localhost, you might find ngrok (ngrok.io) to be a useful tool for routing from the cloud to your laptop

Did you find this page helpful?