URLEncoded the query being sent