We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qs
Code Generation for Node.js / Fetch using node-fetch generates code like this:
node-fetch
const fetch = require('node-fetch'); let url = '<REDACTED>'; let options = { method: 'GET', qs: {reference: '<REDACTED>'}, headers: { 'Content-Type': 'application/json' } }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error('error:' + err));
However the qs option is not supported by node-fetch: node-fetch/node-fetch#887
The text was updated successfully, but these errors were encountered:
params/query support would be a big help
Sorry, something went wrong.
Fix for this in #213
Successfully merging a pull request may close this issue.
Code Generation for Node.js / Fetch using
node-fetch
generates code like this:However the
qs
option is not supported bynode-fetch
: node-fetch/node-fetch#887The text was updated successfully, but these errors were encountered: