ashwinks / PHP-LinkedIn-SDK

A PHP wrapper for the LinkedIn API
94 stars 74 forks source link

removed array typehinting for $payloayd #10

Closed povilas closed 9 years ago

povilas commented 10 years ago

you must be able to send not only arrays, but also simple strings as JSON $linkedin->put("/posts/xxx/category/code", "job");

last example in https://developer.linkedin.com/documents/api-requests-json

ashwinks commented 10 years ago

Array data gets converted to JSON, so you don't have to create and pass around JSON strings in PHP.

povilas commented 10 years ago

Well, that doesn't change.