Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly: http post mit data body möglich?

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Blockly: http post mit data body möglich?

Scheduled Pinned Locked Moved Skripten / Logik
4 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PRozAC
    wrote on last edited by
    #1

    Da ich leider nichts finden konnte muss ich hier direkt fragen 😉

    Ich versuche mit blockly einen http put/post mit folgenden Inhalt ({"value": "xxx"} an eine API zu schicken.

    Leider schaffe ich es mit blockly nicht und von javascript selbst habe ich leider 0,0 % Ahnung 🙂

    Ist es per blockly überhaupt machbar?

    Vielen Dank im Voraus…

    Stefan

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PRozAC
      wrote on last edited by
      #2

      Kann hierzu vielleicht jemand etwas sagen??

      1 Reply Last reply
      0
      • BuZZyB Offline
        BuZZyB Offline
        BuZZy
        wrote on last edited by
        #3

        So einen Block gibt es im Blockly (noch) nicht.

        Es gibt nur einen Request Block..

        Wenn es nur ein einziges http post ist, kannst du ja hier mal posten wie es genau aussehen soll..

        In Javascript kann man das ohne Probleme umsetzen.. 🙂

        P.s.: Hab mal ein enhancement request auf Github erstellt..

        https://github.com/ioBroker/ioBroker.ja … issues/152

        Gruß

        1 Reply Last reply
        0
        • P Offline
          P Offline
          PRozAC
          wrote on last edited by
          #4

          @ BuZZy Vielen Dank für deinen request 😉

          Also… der put request hat folgende Syntax:

          PUT IP//globalVariables/{globalVariableID}

          Authoriation: basic [username:password in base64]

          Und der body hat folgenden Inhalt (JSON):

          {"value": "your_value"}

          Sollte "eigentlich" eine leichte Aufgabe sein…

          Vielen Dank und Gruß

          Stefan

          @BuZZy:

          So einen Block gibt es im Blockly (noch) nicht.

          Es gibt nur einen Request Block..

          Wenn es nur ein einziges http post ist, kannst du ja hier mal posten wie es genau aussehen soll..

          In Javascript kann man das ohne Probleme umsetzen.. 🙂

          P.s.: Hab mal ein enhancement request auf Github erstellt..

          https://github.com/ioBroker/ioBroker.ja … issues/152

          Gruß `

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Support us

          ioBroker
          Community Adapters
          Donate

          691

          Online

          32.4k

          Users

          81.4k

          Topics

          1.3m

          Posts
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          ioBroker Community 2014-2025
          logo
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Unread 0
          • Categories
          • Unreplied
          • Popular
          • GitHub
          • Docu
          • Hilfe