Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Correct README to specify 'delete' instead of 'del' for 'method' option. #85

Merged
merged 1 commit into from

2 participants

@evdb

'del' did not work for me. 'delete' did. Perhaps it would be good to support 'del' as an alias.

@easternbloc easternbloc merged commit 5925ded into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -98,7 +98,7 @@ All of these attempt to turn the response into a JavaScript object. In order to
### Options
-* `method` Request method, can be get, post, put, del. Defaults to `"get"`.
+* `method` Request method, can be get, post, put, delete. Defaults to `"get"`.
* `query` Query string variables as a javascript object, will override the querystring in the URL. Defaults to empty.
* `data` The data to be added to the body of the request. Can be a string or any object.
Note that if you want your request body to be JSON with the `Content-Type: application/json`, you need to
Something went wrong with that request. Please try again.