Improving ProcessUrlRequest implementing an easier approach