Error header CORS

Hey, it should be a post call here instead of a get.