make rounte for 'OPTIONS' call on api