How to call asp.net core web api from react.js component? Important

Aug 2 2021 7:46 PM

Hi, I am new to asp.net core, and react.js component. I wrote a get web api that returns the string like username. How to call this api from react.js component. Please provide a sample code.

Thanks


Answers (2)