API running with CORS enabled Updated