From d3f63807fefe65738fe6b3b795a30c8574676ef2 Mon Sep 17 00:00:00 2001 From: Shane Daniel Date: Sat, 11 Feb 2017 12:45:01 -0800 Subject: [PATCH] Updating transformRequest documentation to include FormData --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b3c913..8c94299 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ These are the available config options for making requests. Only the `url` is re // `transformRequest` allows changes to the request data before it is sent to the server // This is only applicable for request methods 'PUT', 'POST', and 'PATCH' - // The last function in the array must return a string, an ArrayBuffer, or a Stream + // The last function in the array must return a string, an ArrayBuffer, FormData, or a Stream transformRequest: [function (data) { // Do whatever you want to transform the data