Here is an example of how to create a discussion using CURL request to the JIVE API3 REST services, here is my PHP file content:
Hope this helps someone anytime!
A simple example of how to use CURL and PHP to send request to the JIVE API v3 REST services
I am PHP developer working in jive. I am actually trying to fetch the json data and display them in our site.
I am using CURL functions in PHP. The above example does not work for me in my environment. It does not throw any errors but it does not give any response. I think the problem might be authentication where i am not able to troubleshoot.
I have few queries.
1) Is it necessary, the user fetching the json data need Full permission / access? (i.e CURLOPT_USERPWD given in the above code)
2) Can you help me in getting any sample code for retrieving the json data?
1. Any user has API access, but what can be done using the API is limited to what they are permissioned for in the community.
2. The data returned from the API should be in JSON format by default.
I have registered with jive community and executed the above example. It does not work for me. No return data and errors. Kindly help me out of this.
Not working either. Like many manuals there is a missing element. Hope someday all connection examples will have a really working example. So what do jive-n cloud customers need to do to get the rest api connection up-and-running using PHP on their own development server while talking to jive-n cloud edition?
Retrieving data ...