How to access raw curl responses for debug/logging? #333
IncredibleHat
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to find a method, or variable, in the return response object from the SDK, that gives the simplified raw return from the API calls. Is this even possible in this SDK?
We like to log all variables passed to the api, and raw returns passed back. So we can spot any potential issues with integration/data. We don't know what was derived, created, duplicated, or simply added, to the response object, vs what the braintree server actually responded with.
Currently trying to log: $response(Object) is like logging the complete works of Shakespeare with every call :-)
Beta Was this translation helpful? Give feedback.
All reactions