I am having issues with an api and have very little scripting experience

I have an ordering system in which orders are displayed on a board when placed, found it on an old game i am modernizing. I get this error 15:57:18.719 HttpError: DnsResolve - Server - OrderingServer:28 and have found that it is this line of code: local order = http:PostAsync(“https://candify.xyz/api/roaction?id=“..userid..”&action=order&customer=”…customerid, {}) that was the problem. I have no idea of any alternate apis i can use for this, and i believe the one referenced here doesn’t exist anymore. does anyone have any idea on what i can do to resolve this issue?

This looks like a discord webhook bypass that would send the user id, customer id, and some other stuff to a discord channel. Removing the line entirely should work fine, but if you want to do the same thing with adding the order to a discord channel, then you could look at a YouTube video and learn how. One video you could use would be: https://www.youtube.com/watch?v=voQBUv6tAQI
(I didn’t research this video to see if it would truly work, but something like this may help with sending in the same data to a discord channel.)

1 Like

thank you for your assistance! this worked!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.