Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. CURL Webseite in Variable

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    CURL Webseite in Variable

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mikiline last edited by

      Hallo zusammen,

      kann mir jemand sagen wie ich eine CURL in eine Variable oder besser als Json zurückbekomme (und in ein Objekt schreibe)?

      folgendes funktioniert und schreibt mir eine Datei in "tmp"

      Da wget kein keine AUTH per digest kann, muss ich dies ueber curl machen….

      curl -k -o /tmp/tmp0 http://user:pass@192.168.178.1/meinewebseite

      Antwort meiner Seite wäre/ist xml

      Danke für die Hilfe

      1 Reply Last reply Reply Quote 0
      • M
        mikiline last edited by

        OK, hab die Abfrage mal hinbekommen….

        curl --digest --user user:pass 192.168.178.1/meinewebseite

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        579
        Online

        32.0k
        Users

        80.5k
        Topics

        1.3m
        Posts

        1
        2
        614
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo