One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
rk90
7 years agoHelpful | Level 5
Getting raw http response using Python SDK
Hello All,
I've been reading through Python SDK docs and looking at SDK source code and found that internally all Dropbox does is call request(*params). My use case is a little different where I need the raw JSON string in response.
I found a few methods (i.e. request_jsob_object, request_json_string) which I guess return the raw response? Can you tell me how to use them? I looked at their docs and not sure how would I call them and what exactly they return?
An example would really help here.
- Greg-DB
Dropbox Staff
I can't officially recommend or support trying to use the methods you mentioned (or any other internal methods) in the Dropbox Python SDK as they're only intended for use by the library itself, and are subject to change without notice across versions.
The Dropbox Python SDK isn't built to expose the raw response to the caller, so if your use case requires it, you may be better served by calling the HTTPS endpoints directly using an HTTPS client of your choosing (e.g., the requests library, like the Dropbox Python SDK uses) instead.
- rk90Helpful | Level 5
Thanks Greg!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 4 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!