diff --git a/README.md b/README.md index 87a571e..921133a 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,8 @@ These are the available config options for making requests. Only the `url` is re // This is only applicable for request methods 'PUT', 'POST', and 'PATCH' // The last function in the array must return a string or an instance of Buffer, ArrayBuffer, // FormData or Stream - transformRequest: [function (data) { + // You may modify the headers object. + transformRequest: [function (data, headers) { // Do whatever you want to transform the data return data;