Skip to content

Instantly share code, notes, and snippets.

@ToutinRoger
ToutinRoger / sample.mjs
Last active January 10, 2022 10:31
Sample request for a GraphQL Query for Javascript and Python
// Require the module node-fetch as it allows
// us to request to the api.
import fetch from 'node-fetch';
/*
! ------- !
This is for requesting a GraphQL response
without any authorization (bearer token | access_token)
! ------- !
*/