- fixed CORS issue by using Accept header for get request instead of Content-Type header