The API calls are made via Bubble’s servers, hence an API on a local server would not be accessible by the API Connector.
What you could do is to instead create a Bubble plugin which would run client side (on the users browser) and hence would be able to access the local server’s APIs
After that you could pass the data fetched by the Bubble plugin onto your Bubble workflows.
Has anyone managed to do this? I am encountering the same issue now as well and would love to know if anyone has a workaround or has actually made a plugin to do this…
You could use some tools, such as ngrok. It will expose your localhost as a public domain.
However, for a fixed domain, you could take a look at paid plans or some other tools
With ngrok, steps are simplified as
run your local server at port 6969 (for example)
expose that port via ngrok: ngrok http 6969
Ngrok is suitable for the above case, specifically when you’re developing some cool ideas. However, about the long term, you should bring your code to real servers
You need to expose your local server with a secure tunnel.
There is plenty of services and articles you can find with a quick search (for example this this article or this tweet)