update request for url endpoint method to avoid encoding query string question mark