API Authentication Methode

  • ReneConrad
        4 years ago #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
            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
          4 years ago #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
              4 years ago #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

            Viewing 3 posts - 1 through 3 (of 3 total)

            You must be logged in to reply to this topic.