Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at…. CORS preflight response did not succeed
So, I’m creating a reactjs page where I want to consume a Golang Gorilla Mux api. But whenever I call the api this way: