Comments
-
Hello Gregory. Thank you. It helped a lot. Have a nice day! Eugene
-
ok. now i get it. thank you. Error in call to API function "users/get_current_account": Your request's HTTP request method is "GET". This function only accepts the HTTP request method "POST". changing to post
-
Here's my code: private static final String DROPBOX_TOKEN_ENDPOINT = "https://api.dropbox.com/oauth2/token"; private static final String DROPBOX_ACCOUNT_INFO_ENDPOINT = "https://api.dropboxapi.com/2/users/get_current_account"; OkHttpClient client = new OkHttpClient(); RequestBody body = new…
-
there's nothing in response body, only this message: Response{protocol=http/1.1, code=400, message=Bad Request, url=https://api.dropboxapi.com/2/users/get_current_account} response headers: 0 = "Server" 1 = "nginx" 2 = "Date" 3 = "Fri, 26 Aug 2016 10:10:19 GMT" 4 = "Content-Type" 5 = "text/plain; charset=utf-8" 6 =…
-
Hi. It might be a little off topic, but i've bumped into this issue migrating from v1 to v2: after getting the auth code from this endpoint: https://www.dropbox.com/oauth2/authorize and getting the token from this endpoint: https://api.dropbox.com/oauth2/token i am trying to get user's display name. as far as i understand…