REST request to Vercel API responds with "Redirecting..."

Hey guys, I just implemented an endpoint in my API and when i try to access it using a REST resource query it always comes back with a 308 code, Postman can access the endpoint without issue. Here's my setup:

The response:


The console output:


The full network response:

I just found out i needed to add a "www" before the url, and the issue is gone