From 743b7d53022a22077c3577f07bf32dbeeacdb5c2 Mon Sep 17 00:00:00 2001 From: Julien Elbaz Date: Fri, 22 Sep 2017 08:23:25 +0200 Subject: [PATCH] :memo: Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2e836a..17218ce 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,7 @@ w = w.query({ c: 3, d : [4, 5] }) // url is now http://example.com?c=3&d=4&d=5 ``` -#### headers(headerValues: { [headerName: string]: any }) +#### headers(headerValues: Object) Set request headers. @@ -340,7 +340,7 @@ wretch("...").content("application/json") *A body type is only needed when performing put/patch/post requests with a body.* -#### body(contents: any) { +#### body(contents: any) Set the request body with any content.