toneee
2 years ago

Access API on Homestead Site

Posted 2 years ago by toneee

Hi All,

I am creating multiple apps using Homestead, I now am at a point where I need one application to access another applications API on the same site, but I am struggling to get it to work.

Does anyone have any docs or information on setting this up.

app1.local.dev access api on app2.local.dev/api/...

But app1 cant resolve the url for app2. I thought it might be as easy as setting up the /etc/hosts file, but this doesnt seem to work either.

Thanks for any help!

Please sign in or create an account to participate in this conversation.