You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
FSUInnovation
5 years agoExplorer | Level 4
App Code and App Secret Input php curl
When I add the required app code and app secret for the 0auth2/token curl, should it be placed in the http header, or in the curlopt_postfields setopt? If it goes in the http header, should it be a s...
- 5 years ago
When calling /oauth2/token, you can actually pass the app key and secret either as 'application/x-www-form-urlencoded' (not JSON) POST parameters, or in the place of the username and password, respectively, in "HTTP basic authentication", that is, in the "Authorization" header. You can find more information on that in the /oauth2/token documentation:
https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token
FSUInnovation
Explorer | Level 4
So, I would have a element in my httpheader array that looks like "Authorization: " . $appkey . ":" . $appsecret where the appkey colon appsecret are base 64 encoded? The element I have now is a utf8 encoded $appkey . ":" . $appsecret without "Authorization:" to the left of the string.
Greg-DB
5 years agoDropbox Staff
I see you opened a new thread for this with more information so I'll follow up with you there.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 7 hours agoIf 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!