function getContacts($params = array())
{
- $response = $this->XeroOAuth->request('GET', $this->XeroOAuth->url('Contacts', 'core'), $params);
+ $response = $this->XeroOAuth->request('GET', $this->XeroOAuth->url('Contacts', 'core'), $params, '', 'json');
if (empty($this->XeroOAuth->response['code']) || $this->XeroOAuth->response['code'] != 200) {
throw new Exception('Xero Error: ' . $this->XeroOAuth->response['response']);