From 5a00ff00e8f70f8bdd9c2b7dc6da4b2e0eeebfca Mon Sep 17 00:00:00 2001 From: Matt Zabriskie Date: Fri, 29 Aug 2014 16:59:43 -0600 Subject: [PATCH] Updating README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b03af40..5c286b1 100644 --- a/README.md +++ b/README.md @@ -103,13 +103,15 @@ When using the alias methods `url`, `method`, and `data` properties don't need t ### Config +This is the available config options for making requests. Only the `url` is required. Requests will default to `GET` if not specified. + ```js { // `url` is the server URL that will be used for the request url: '/user', // `method` is the request method to be used when making the request - method: 'get', + method: 'get', // default // `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'