I have tried to call below web-service
https://api.linkedin.com/v1/people/~/group-memberships
as mentioned on Linkedin Developer: Group API
Only problem i'm facing is how to pass parameters as json format instead of XML
All suggestions are welcomed
LinkedIn's API was originally build in the XML days before JSON was popular. As a result, the default expected data format for sending data in is in XML. If you want to send your data to LinkedIn in JSON format, you need to add the following HTTP headers to your request:
Content-Type: application/json
x-li-format: json
Additional information about using the LinkedIn REST APIs can be found here: https://developer.linkedin.com/docs/rest-api
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.