Skip to content

Instantly share code, notes, and snippets.

@AliNaraghiA
Created June 9, 2023 12:13
Show Gist options
  • Save AliNaraghiA/6a9a7e2a8bc4279ab4cef12b7080df01 to your computer and use it in GitHub Desktop.
Save AliNaraghiA/6a9a7e2a8bc4279ab4cef12b7080df01 to your computer and use it in GitHub Desktop.
GraphQl
request('http://your-wordpress-site.com/graphql', query)
.then(data => console.log(data))
.catch(error => console.error(error))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment