Download Files using API

HI ,

I tried Get/file/ID/download but i am not able to download files. Still data exists at that ID which is i am sending to get file.

my code block is

client = new RestClient(“” + id + “/download?api_token=” + token);

                            client.Timeout = -1;

                            request = new RestRequest(Method.GET);

                            request.AlwaysMultipartFormData = true;

                            response = client.Execute(request);

Response status is false…

Please help me

Thanks In advance


its resolved … my mistake is i am using file inside of files…


1 Like