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
It is showing error in return statement idk where i m going wrong how should i make it work please guide
` function fetchAPI(url, email, apiKey, zoneTag) { let request = new Request(url, verify=False) let query = {"query":"{\n viewer {\n zones(filter: { zoneTag: "> ...} let init = { method: 'POST', body: JSON.stringify(query), insecure: true } request.headers.set('x-auth-key', apiKey) request.headers.set('x-auth-email', email) return fetch(request, init) }
`(index):128 POST https://api.cloudflare.com/client/v4/graphql net::ERR_CERT_INVALID i have tried this too its giving me error like this in my javascript code.
The text was updated successfully, but these errors were encountered:
rejectUnauthorized: false too.
Sorry, something went wrong.
No branches or pull requests
It is showing error in return statement idk where i m going wrong how should i make it work please guide
`
function fetchAPI(url, email, apiKey, zoneTag) {
let request = new Request(url, verify=False)
let query = {"query":"{\n viewer {\n zones(filter: { zoneTag: "> ...}
let init = {
method: 'POST',
body: JSON.stringify(query),
insecure: true
}
request.headers.set('x-auth-key', apiKey)
request.headers.set('x-auth-email', email)
return fetch(request, init)
}
`(index):128 POST https://api.cloudflare.com/client/v4/graphql net::ERR_CERT_INVALID
i have tried this too its giving me error like this in my javascript code.
The text was updated successfully, but these errors were encountered: