Accessing api from serverside


Hello there,

I currently have a website running on a server. Within the same network of the server there is a REST api which can only be accessed from within the same network. Now i need to get some data from that api, but it shouldn’t work by just normally using axios, because the call is actually made from the clients side who connects to the website, right? How can I actually make the api-call from the serverside, not the client side or did I just misunderstand this and it should work?


If your backend is in nodejs you can use axios in server side without any problems.