0 Replies Latest reply on Mar 28, 2016 11:13 PM by wipkands

    Is n't X-J-Token required if POST service is invoked using CURL?

    wipkands

      Hi All, Ryan Rutan

       

      I recently worked on automating bulk document create process using Excel, Curl and Jive REST, this way helped me not to create a plugin for this.

       

      One interesting observation was, I did not need to pass X-J-Token attribute for POST service with CURL. I am yet to explore, and thought to post here if already someone have done some analysis. Please let me know.

       

      echo  ---->>log.out
      echo creating document for row2 >> log.out

      curl -d "@row2.json" -u <<username>>:<<password>> -H  "Content-Type: application/json" -H "X-Jive-Run-As:email <<emailid>> -i https://<<jive domain>>/api/core/v3/contents    >>     log.out

       

      Suneel