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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • 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

        666
        Online

        31.7k
        Users

        79.9k
        Topics

        1.3m
        Posts

        1
        2
        601
        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