• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. row
    3. Posts
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: mcApi.http() Examples

      @jkandasa HI, thank you for the replay. I am realy new to all this and I am enjoying everytihing. I am running v1.5 because I thought v2 was a pre release version.

      I have found a code sniped of mcApi.http().get in the forum and I have managed to get it running. Still no mcApi.http().post resquest thou.

      Anyways, as I am about to get everytihing up and running in v1.5, I will take a look at v2 once I finish it.

      I realy apreciate all you attention.

      RoW

      posted in Developers Zone
      R
      row
    • mcApi.http() Examples

      Hello everybody !

      I need to read from an api using mcApi.http() as a response to a button being pressed.

      The ideia is to push a button and read from the api a timeout value. This timeout will be used to keep a relay "on" for this amout of time. This api has an internal logic to calculate the timeout value and it varies depending on various parameters.

      All I need is to call this api and receive the timeout value.

      Been a newbie as I am, I am having a hard time to get this running.

      Are there examples of scripts using mcApi.http() ?

      Thank you all

      posted in Developers Zone
      R
      row