Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

So, I have both a website and an API configured locally in Docker, that way I can test the site locally and the API too. But the thing is, I have a piece of code in my local machine (not Docker) that I’m trying to use to make some calls to the local API in Docker.
My issue is, when I run my code with vscode, the API requests keep failing and throwing the error: 401 unauthorized. After debugging the request and comparing to the one made in the working site, I find that the only difference between requests is that the origin in the working page it’s the domain itself, while the origin in my local code is my locahost.
I believe this it what is causing the request to fail (could be that the API creators don’t allow CORS), so I’m trying to make it so my local code has the same origin as my docker systems.
Do you guys have any idea on how I could do it?
hashembarret@gmail.com
Witomir Łękowski
doug.landau
5350d4b31109448dbeb34a6ffc857a
RuRo
max johnson
rem3n
bo
d.mckinstry
Jim Cason
Charles kubai
Charles kubai