diff --git a/Readme.md b/Readme.md index e548668..cb8d717 100644 --- a/Readme.md +++ b/Readme.md @@ -126,13 +126,16 @@ $options = array( ### The api options The third parameter of `LinkedIn::api` is an array with options. They will eventually be past to a Request client but -before that we do some modifications. Below is a list of array keys that you may use. - -* **body**: The body of a HTTP request. Put your xml string here. -* **format**: Set this to 'json' or 'xml' to override the default value. -* **headers**: This is HTTP headers to the request -* **json**: This is an array with json data that will be encoded to a json string. Using this option you do need to specify a format. -* **query**: This is an array with query parameters +before that we do some modifications. Below is a table of array keys that you may use. + +| Option name | Description +| ----------- | ----------- +| body | The body of a HTTP request. Put your xml string here. +| debug | This will echo the all the request and response headers. (Works with the Guzzle client only) +| format | Set this to 'json', 'xml' or 'simple_xml' to override the default value. +| headers | This is HTTP headers to the request +| json | This is an array with json data that will be encoded to a json string. Using this option you do need to specify a format. +| query | This is an array with query parameters If you are using the `GuzzleRequest` (default) you may want to have a look at [its documentation](http://docs.guzzlephp.org/en/latest/clients.html?highlight=format#request-options) to find out what more options that are available.