Skip to content

Commit

Permalink
Merge pull request #696 from simshanith/formdata-documentation
Browse files Browse the repository at this point in the history
Updating transformRequest documentation to include FormData
  • Loading branch information
nickuraltsev committed Mar 18, 2017
2 parents 3704d57 + d3f6380 commit 202a890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 202a890

Please sign in to comment.