1 Reply Latest reply on Apr 15, 2016 4:33 PM by rashedtalukder

    How to Structure an HTTP GET Request to Obtain Tagged Content (ex: Blog Posts...)


      I'm developing an AngularJS app for internal stakeholders and would like to be able to use the Jive API to obtain a JSON object with Commons content (ideally selected based on tag). More specifically I want to use the JIVE API to obtain JSON formatted data (ex: blog post info) that is tagged with terms relevant to the app (ex: “analytics”, “data science” etc…) the goal is to have the app pull the most recent 3-5 blog posts fitting this criteria so I can display the links to site visitors.


      I tried to follow the API documentation https://developers.jivesoftware.com/api/v3/cloud/rest/index.html?ref=jivedev but there does not appear to be specific guidance regarding how to deal with CORS restrictions. My app resides on the intranet.mycompany.com domain, our Jive content resides on social.mycompany.com


      My request looked like the following:



                           method: 'GET',

                           url: 'https://social.mycompany.com/api/core/v3/contents’



      Any specific guidance or instruction on the steps to successfully accomplish obtaining data from the API given the conditions I have described would be truly appreciated.