code: public function toUrl()
      {
          $postData = $this->toPostdata();
          $out = $this->getNormalizedHttpUrl();
          if ($postData) {
              $out .= '?' . $postData;
          }
          return $out;
      }
docs: Builds a url usable for a GET request
  
  @return string