working with url paras for cors request