API Authentication Methode

  • ReneConrad
    Teilnehmer
      vor 5 Jahren, 2 Monaten #20080

      Hallo,

      mit dem folgenden Code kann ich mich an einem API authentifizieren.

      curl -X GET https://gateway.hub.xx.de/xxxx/v1/authentication \
        -H ‘user: <dotCMS-Username>’ \
        -H ‘password: <dotCMS-Passwort>’ \ 
        -H ‘apikey: <insert API key here>’

      Mit welcher Methode (REST-Konnektor, BO, ….)  sollte ich das idealerweise im  Simplifier durchführen ?

      Vielleicht können Sie auch ein Beispiel erstellen.

      Besten Dank im voraus

       

      Schöne Grüße

      Rene Conrad

       

      Christian Kleinschroth
      Moderator
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
        Has successfully completed the online course Basics (100)
        Has successfully completed the online course Advanced (310)
        Has successfully completed the online course Advanced (320)
        Has successfully completed the Intermediate Certification
        Has successfully completed the Advanced Certification
      vor 5 Jahren, 1 Monat #20085
      Up
      1
      Down
      ::

      Hello Mr, Conrad,

      Header Parameters could be set via configuration directly in the connector call – see documentation

      https://community.simplifier.io/documentation/connectors/rest-connector/rest-connector-calls/

      headParams (optional): key/value object defining additional headers of the REST Request. Any head parameters concerning possible authentication will be added, regardless of any earlier definition by headerParams feature.

      If is not working, please open a support ticket via support.simplifier.io

       

      ReneConrad
      Teilnehmer
        vor 5 Jahren, 1 Monat #20084
        Up
        0
        Down
        ::

        Guten Morgen,

        ich habe es , wie im Beitrag beschrieben (https://community.simplifier.io/forum/topic/rest-connector-and-custom-headers/), probiert. Es funktioniert leider nicht.

        Schöne Grüße

        René Conrad

      Ansicht von 3 Beiträgen – 1 bis 3 (von insgesamt 3)

      You must be logged in to reply to this topic.