net.proxyFetch GET request

I have been trying to get a GET request for my Craft daily notes working via the server through the above api. I have it working in python and apple shortcuts but cant get any sense out of what I get back in SilverBullet.
The code is as follows;

local res = net.proxyFetch(craft_url, { 
  method = "GET", 
  headers = { 
    ["Authorization"] = "Bearer " .. token, 
    ["Accept"] = "application/json"
  },
})

What I get back follows the Text in place “This is my space”

craft_url and token are local variables
What am I doing wrong here?
Has anyone been able to get this API call working?

What’s being returned is a function, maybe you can call res()?
I couldn’t reproduce your issue though.

Thanks you led me in the right direction. I now have it working as intended.