not using router
use Reynos/xhr to do cors request