added urldecode on get_request_from_url, removed trailing whitespaces