Urlload with graphql?


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 {
                            location  {
.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.

Hi @dev_noob81 Welcome to the forum! :slight_smile:

urlload emulates JavaScript fetch under the hood so it may be possible. Can you share your snippet that uses urlload and is not working?