title: How to make a POST call and send parameters with objective-c in iOS
body: <p>I'm adding the ability to share an article on LinkedIn in an iOS 7 app using oauth2. I've gotten thru the authentication and have the access token. The documentation seems to be pretty clear about that, but it's odd, to actually post, things get pretty vague and poorly documented.  I know I post here: <a href="http://api.linkedin.com/v1/people/~/shares" rel="nofollow">http://api.linkedin.com/v1/people/~/shares</a> appending the token.</p>
  
  <p>iOS being a huge platform and linkedin being very popular, i assumed i was missing something obvious, but a lot of googling has revealed the same old references to old projects. One example uses oauth2 and does get me through authentication but i can't make any api calls. Am i missing a page from linkedin itself? I've read the share api page, but when it comes to the api calls, theres not a single example on using objective-c. i'm not looking to not do anything, but I'm just kinda amazed at the lack of info.</p>
  
  <p>Every example just has the same code using OAMutableRequest, building the dictionary,etc. but they never explain what that is, how to incorporate that library or anything, its just strange. Is this the accepted best practice, the library hasn't been updated in 3 years so it has errors for arc and other things. All the code examples mention the same "consumer" property with no discussion of how or why that's needed. I can't seem to find how you build the post request with the parameters linkedin needs to post something on the site. Is OAMutableRequest the only way? If so, how have people updated it to work? If not, how can you build the request otherwise using NSURLRequest or something simpler. Thanks so much!</p>