This repository has been archived by the owner on May 10, 2021. It is now read-only.
v0.0.5
Add fetchOptions
support to request()
Example
request("/graphql", {
query: getPostsQuery,
variables: {
first: 10,
},
fetchOptions: {
credentials: "omit",
headers: {
"x-custom-header": "test",
},
},
});