Your API works in curl but not in the browser — that's CORS

· Dev.to