Is it possible to create an HTTP connector to loca...
# ask-a-descoper
t
Is it possible to create an HTTP connector to localhost for testing? When I put a localhost url into the Base URL field I get an invalid domain error
d
No unfortunately not @tall-king-28104. The connectors run as a lambda and you will not be able to use localhost to test
However you can deploy your APIs somewhere like Vercel if you want to be able to test them
t
Okay, thanks for the quick feedback!
👍🏼 1
👍 1
d
My pleasure
r
Another option might be a tunnel to localhost with tools like ngrok etc.
👍 2
a
We also use Cloudflare tunnels or ngrok. e.g.
Copy code
cloudflared tunnel --url <http://localhost:50051>
becomes accessible at
<https://something-random.trycloudflare.com>
👍🏼 1
👍 1
t
I'm trying ngrok now. I'm able to hit localhost with it, but I am getting 404 errors. Probably something on my end