My use case: Trying to issue a PUT request to move a post from a group's general discussions to job discussions.
To issue that request you need a typical ugly piece of LinkedIn XML along with the post id in the URL.
The problem is that the post id is only present as part of the received location header, which is obtained from the POST request(not at the response body).
Any solution except using packet sniffing?
This OPEN bug from 2011, describes the same issue.
LinkedIn forum question
Since you're using PECL oAuth library, try using the OAuth::disableRedirects function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With