modified to take base64 string of entire requested url