Jump to content

Cirga5

Member
  • Posts

    2
  • Joined

  • Last visited

Cirga5's Achievements

Lurker

Lurker (1/6)

0

Reputation

  1. I got some code, Im using SkriptWebAPI and idk if this is reqn too. ChatGPT made it and I modified it to the docs. Its not receiving though..: command /resetvar: trigger: set {variable1} to 0 command /addvar: trigger: add 1 to {variable1} broadcast {variable1} command /sendData: trigger: set {_url} to "https://html-skript-http-get-test.cirga5twitch.repl.co" # Replace with your actual endpoint URL set {_header} to "Content-Type: application/json" set {_body} to "{ 'variable1': '%{variable1}%', 'variable2': '%{variable2}%', 'variable3': '%{variable3}%', 'variable4': '%{variable4}%' }" send post request to {_url} with header {_header} and body {_body} broadcast "Done"
  2. So i'm looking to make a MCC remake, I was wondering how to send variables from Skript to my website using Reqn. Does anyone know how to do it or some code for it? Thanks! Cirga5 (BTW the documentation is here, I don't know how to read that stuff though... https://github.com/btk5h/reqn)
×
×
  • Create New...