Skip to content

Commit

Permalink
Fix: document
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangciwu authored and 赵长伟 committed Mar 23, 2019
1 parent a8b97c8 commit 6a654a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ An object containing extra data that should be submitted along with the form.
data: { key1: 'value1', key2: 'value2' }
````
### requestFormat
Avaliable value:
Available value:

* `form` : post request body with http form (x-www-form-urlencoded) format, this is default option.
* `json` : post request data with json string in post body.
* You may need polyfill `JSON` functionality with old browsers, recommending: https://github.com/douglascrockford/JSON-js/blob/master/json2.js
* `form` : (default) post request body with http form (x-www-form-urlencoded) format


### dataType
Expand Down

0 comments on commit 6a654a0

Please sign in to comment.