Hi
I passed "https://api.dropboxapi.com/2/files/list_folder" to fetch files and folder from root.
and Passed parameters are:-
string path=string.empty;
request.AddHeader("Content-Type","application/json");
request.AddParameter("path", path);
but I got response from api is folollowing:
Error in call to API function "files/list_folder": Bad HTTP "Content-Type" header: "application/x-www-form-urlencoded". Expecting one of "application/json", "application/json; charset=utf-8", "text/plain; charset=dropbox-cors-hack".
and StatusDescription "BadRequest"
Could you please suggest me?
Thanks