none
400 bad request error on FIle upload REST API Call. RRS feed

  • Question

  • I am calling REST API of salesforce to post a file. I am trying to  upload a file in Chatter by REST API. As per our investigation file upload API uses “ post body instead of query parameter” and “content-type of multipart not JSON”

     

    We found following link for Java but we need this solution in asp.net /c#

    https://github.com/developerforce/Chatter-REST-API/wiki/Posting-a-file-from-Java

      

    Please reply it,  if anybody has worked on similar problem earlier or has any clue for resolution.

    Thursday, June 9, 2011 11:59 AM

Answers

All replies