diff --git a/http/client.md b/http/client.md index 71f755d7..7e59a180 100644 --- a/http/client.md +++ b/http/client.md @@ -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.