blakmatrix/node-zendesk — pull request #8 by basdewachter (2013-07-16 13:11:48+00:00)
Title: Fixed deleting items

Hi, love your work for this repo, very useful.
However, deleting does not work, results in the error below, so I suggest this fix.

error:

REQUEST { method: 'DEL',
uri: 'https://cloud9ide.zendesk.com/api/v2/topics/123.json',
headers:
{ Authorization: 'Basic ...',
'Content-Type': 'application/json',
Accept: 'application/json' },
body: '{}',
jar: { cookies: [] },
encoding: null,
timeout: 240000,
proxy: null,
callback: [Function] }
{ statusCode: 405,
result: '\r\n

405 Not Allowed

\r\n

\r\n

405 Not Allowed

\r\n

nginx/1.0.15\r\n

\r\n\r\n' }
{ [Error: Zendesk Error (405): Method not Allowed]