Hello,
I am wanting to post data through this API: https://eurotruckradio.co.uk/api/request
However, I am confused on how it works.
Any ideas?
LordeJerry.
Hello,
I am wanting to post data through this API: https://eurotruckradio.co.uk/api/request
However, I am confused on how it works.
Any ideas?
LordeJerry.
Nightbot’s urlfetch
can’t do POST requests. You would have to make a wrapper website that accepts GET requests. I made one at https://nightbot-clip-command.herokuapp.com/etrrequest. Type this into your Twitch chat to add a command that uses my wrapper API:
!addcom !etrrequest $(urlfetch https://nightbot-clip-command.herokuapp.com/etrrequest?name=$(querystring $(user))&requestType=$(querystring Song Request)&request=$(querystring))
You can name the command something other than !etrrequest
if you want.
Ahh! Cheers Dude! I will try thats shortly!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.