replace whitespace with %20 for GET requests to work properly