Alright so I decided to check out this noblox-js library by suufi today, and followed the entire tutorial included the Node.JS part.
Now I'm here creating a ModuleScript called Server, putting the provided code in there. In order to access my server I have to connect using my domain and key.
Whenever I try and call my URL, it tells me the url is invalid. This url certainly works because when I paste it in my browser, something comes up.
Any ideas?!
local server = require(script.Parent.Server) local domain = 'censored domain' --URL that is claimed to be invalid local key = 'censored key' local groupId = 1234 local userId = game:GetService'Players':GetUserIdFromNameAsync'RegisteredCode' local api = server(domain, key, groupId) print(api.promote(userId).message) print(api.message(userId, 'Subject', 'Body').message) print(api.getBlurb(1).data.blurb)