Request example NODEJS

I’ve never used XHR in a nodeJS server application so yes?

Give you are using kraken

You can either

https://dev.twitch.tv/docs/v5/guides/migration

Upgrade from v3 to v5

Or go to Helix.

For XHR you can refer to this post

Where we covered how to XHR