Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

The best way to make a HTTP request

dawidr
2021-04-15
2021-04-16
  • dawidr - 2021-04-15

    What is the best way to make an HTTP request?

    I'm using e!Cockpit and Structured Text and I need to make an HTTP request to one of my Shelly 1 relays to turn on the light. It will look like:
    https://IP_ADDRESS/relay/0?turn=on or https://IP_ADDRESS/relay/0?turn=off
    and I don't care about the response.

     
  • i-campbell

    i-campbell - 2021-04-16

    I don't think that one has Https. If not you might need the Web Client SL library from the IIoT Libraries bundle from the same store ( but it requires a license ).

     

Log in to post a comment.