Integration examples in multiple programming languages.
curl -X POST https://beta.node.thegrid.id/graphql \
-H "Content-Type: application/json" \
"query": "query { profileInfos(limit: 10) { name descriptionShort } }"
profileInfos(limit: 10, where: {profileStatus: {slug: {_eq: "active"}}}) {
profileType { name slug }
profileSector { name slug }
urls { url urlType { name } }
response = requests.post(
'https://beta.node.thegrid.id/graphql',
headers={'Content-Type': 'application/json'}
const fetch = require('node-fetch');
profileInfos(limit: 10, where: {profileStatus: {slug: {_eq: "active"}}}) {
profileType { name slug }
profileSector { name slug }
urls { url urlType { name } }
fetch('https://beta.node.thegrid.id/graphql', {
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query })
.then(data => console.log(data))
.catch(err => console.error(err));