bad request when submitting a form via fetch to react
I have a form that I submit via fetch
, I always get an error:
why is the fetch data undefined on the child react component?
i have a useEffect
on the parent component that runs a fetch call on render
Trying to fetch data from a website but unable to get it displayed on my site (React.JS)
I’ve been working on a project for some time now and I am trying to fetch data from a website, and I want to display that specific data on my site after a user entered a string (in this case a aviation ICAO airport code).