* Fix for #2423. request.data is replaced by body, params is used for querystring interpolation. * Updated documentation after code review by shadowhand and isiahmeadows * Convert indentation to tabs * Replacing m.request.data and m.jsonp.data with params or body. * Update request.md Co-authored-by: Isiah Meadows <contact@isiahmeadows.com>
This commit is contained in:
parent
e82f6d00c2
commit
8a7eae00ed
7 changed files with 40 additions and 40 deletions
|
|
@ -522,7 +522,7 @@ var User = {
|
|||
return m.request({
|
||||
method: "PUT",
|
||||
url: "https://rem-rest-api.herokuapp.com/api/users/" + User.current.id,
|
||||
data: User.current,
|
||||
body: User.current,
|
||||
withCredentials: true,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue