Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

what is virtual desktop infrastructure

Answered: 1 week ago