public function baseURL($httpverb, $url, $params)
   {
       uksort($params, 'strcmp');

       return strtoupper($httpverb).'&'.
                rawurlencode($url).'&'.
                rawurlencode(http_build_query($params));
   }