mirror of https://github.com/vapor/docs.git
updated comments
This commit is contained in:
parent
e7e1f1696c
commit
a4a59a77d1
|
|
@ -39,14 +39,12 @@ try drop.client.post("http://some-endpoint/json", headers: ["Auth": "Token my-au
|
|||
### POST as x-www-form-urlencoded
|
||||
```swift
|
||||
try drop.client.post("http://some-endpoint", headers: [
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
], body: Body.data( Node([
|
||||
"email": "mymail@vapor.codes"
|
||||
]).formURLEncoded()))
|
||||
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
], body: Body.data( Node([
|
||||
"email": "mymail@vapor.codes"
|
||||
]).formURLEncoded()))
|
||||
```
|
||||
|
||||
|
||||
### Full Request
|
||||
|
||||
To access additional functionality or custom methods, use the underlying `request` function directly.
|
||||
|
|
|
|||
Loading…
Reference in New Issue