Added a 'showDebug' option that will display more of the response in msg.debugInfo. added ability to pass in msg.customHeaders.
I wasnt able to see errors that were returned under the response.data or other errors from more more complex queries because it automatically returned response.data.data as the payload, so this adds a debug option to be able to turn that on.
I needed to pass in an 'auth' header different than 'Authorization', so this lets you pass in headers.
Added a 'showDebug' option that will display more of the response in msg.debugInfo. added ability to pass in msg.customHeaders.
response.data
or other errors from more more complex queries because it automatically returnedresponse.data.data
as the payload, so this adds a debug option to be able to turn that on.