2 Replies Latest reply on Nov 3, 2015 8:04 AM by prashsag

    No response from the rest api call

    prashsag

      I have tried to upload a file to /contents of a project space.

      This call works on sandbox.jiveon.com where i had created a dummy group and project.

      I was given a proxy call to post to a poc-environment where there is a similar hierarchy and basic auth credentials.

      On POST i get not respons for an xls file but an error to .txt file

      The file and json data is sent as multi-form fields.

       

      JSON-data:

      {

          "content": {

              "type": "text/html",

              "text": "<body><p>Some interesting text</p></body>"

          },

          "subject": "New Document",

          "type": "document"

      }

       

      Capture.PNG

      Capture3.PNG

      Capture4.PNG

       

      I have also imported the SSL certificates in case they were blocked from chrome.

      Is there anything wrong in the passed json data ?