Hi,
I am wondering if I can use {urlload} with a graphql endpoint.
From this:
fetch('URL/graphql', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
query: `
query {
people {
personInfo(Uuid: "userUUID") {
primaryHolder {
displayUser
location {
state
city
}
}
}
}
}
`
}),
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
I have tried every which way, but getting a 400 error so it is not connecting.