Skip to content

Commit

Permalink
add doc for qs
Browse files Browse the repository at this point in the history
  • Loading branch information
jd1378 committed Feb 9, 2021
1 parent ad90e9c commit acba2d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ const resp2 = await wrappedfetch("url",{
}
}); // is sent as json and corresponding header is set
// also if method is not defined for this, it will be set as POST

// adding query string
const resp3 = await wrappedfetch("url",{
qs: {
'foo': 'bar'
}
}); // results to url being sent to be "url?foo=bar"
```

## test
Expand Down

0 comments on commit acba2d1

Please sign in to comment.