Oct 22, 2013 7:34 PM
1 Posts

403 Forbidden response on file download through Files API

  • Category: Activities
  • Platform: All platforms
  • Release: All releases
  • Role: Developer
  • Tags: Files API
  • Replies: 0

Hello, I  am  using   files   API  with  Basic   authentication:

 

I  am  able  to  get  file   meta  info   (this  is  my   file,  uploaded  by  me  in  my   account)

 

 

-----------------------------------

> GET /files/basic/api/library/ddbe082f-ccb2-43b8-aa67-314d18294fb3/document/28c2cac3-65ab-4bbd-8672-269a564e869a/entry?acls=true HTTP/1.1
Host: apps.ce.collabserv.com
Accept: */*
User-Agent:  Mozila
Authorization: Basic dmFuamFAdm9saWFjYWJsZS5jb206cGEzM3dvcmQ=
 

RESPONSE

.....

 

.....

------------------------

after  this  i  am  trying  to  get  content   with  same   Basic   authentication:

 

--------------------------

> GET /files/basic/api/library/ddbe082f-ccb2-43b8-aa67-314d18294fb3/document/28c2cac3-65ab-4bbd-8672-269a564e869a/media HTTP/1.1
Host: apps.ce.collabserv.com
Accept: */*
User-Agent:  Mozila
Authorization: Basic dmFuamFAdm9saWFjYWJsZS5jb206cGEzM3dvcmQ=
 

RESPONSE

 

< HTTP/1.1 403 Forbidden

 

why  i  am  getting   403   error?