How to fix not being to access an external API?

A post was merged into an existing topic: Button in React application isn’t updating UI