'How to make request to api in koa

I am beginner so please forgive me.

I am going to make a cors request with authorization token.

As i understand i cant do request in react because on client side my secret token is visible for the world.

So i need to use server side. Becouse i am using koa and dont have much experience i just want to ask what should i use with koa.

Is something like axios for koa or better use something from koa? I dont know how to look for it in the web becouse i dont know names.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source