change get request on CORS for OPTIONS