I dont think you will be able to acces your local network while initilizing the API, because the API call runs in bubble server when we are initilizing it.
but there is a catch, The initiliztion is telling bubble.io what type of respone it will get. so if you have the response:
- click the
manualy ènter API response copy past the response you have and click save, bubble will detect the response and then click save again. that will make you call initilized and you be able to use the API call in workflows.
and then you can use the API call form font end, hopefully it will detect the localhost and run.