hey all is it possible to call local
hey all! is it possible to call local APIs from an action?
2 Replies
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.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