Question: Hi, i have a public API that is using CORS, I am on reactJS making a web app i want to GET from that api

Hi, i have a public API that is using CORS, I am on reactJS making a web app i want to GET from that api but it is not working.

i have tried proxy and a whole lot of other things but it is not working i get error because of CORS. my last option is to make an expressJS server to get from the API how do i go about doing that and how do i implement that in my react app?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!