/**
  * submits an entry to your form
  *
  * @param string $formIdentifier a URL or Hash
  * @param string $wufooSubmitFields an associative array containing array('FieldX' => Y)
  * @return an object containing info about your submission or submission failure
  * @author Timothy S Sabat
  */
 public function entryPost($formIdentifier, $wufooSubmitFields)
 {
     $url = $this->getFullUrl('forms/' . $formIdentifier . '/entries');
     $postParams = array();
     foreach ($wufooSubmitFields as $field) {
         $postParams[$field->getId()] = $field->getValue();
     }
     $curl = new WufooCurl();
     $response = $curl->postAuthenticated($postParams, $url, $this->apiKey);
     return new PostResponse($response);
 }
 public function login($apiKey)
 {
     // $url = 'http://wufoo.com/api/v3/login/';
     $url = $this->getFullUrl('users');
     $curl = new WufooCurl();
     $response = $curl->getAuthenticated($url, $apiKey);
     return new PostResponse($response);
 }