What base url to use for API calls?
I'm trying to call the Windmill API from inside a script. I'm running locally on Docker for Mac. If I try to set the base url to localhost or 127.0.0.1 I just get connection refused. The only thing that seems to work is
host.docker.internal
, but when I use this the links that are rendered using BASE_INTERNAL_URL seem to broken?1 Reply
Ooops, turns out simply using
BASE_INTERNAL_URL
works, I had accidentally set it to localhost during some of my initial experimentation 😳