• Christopher Steinbach
        2 years ago #35003

        Hi Simplifier Community,

        how can I use the response header from a REST connector call?

        I checked the documentation here: https://community.simplifier.io/doc/current-release/integrate/connectors/rest-connector/rest-connector-calls/

        I can set a request header but the response header is missing. I have a application were I have the requirement to fetch information from the http response header.

        Thank you for your help.

        Jennifer Häfner
            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
          2 years ago #35012
          Up
          0
          Down
          ::

          Hi,

          In the advanced configuration part of the documentation, you can find additional parameters that you can set in a REST connector call: https://community.simplifier.io/doc/current-release/integrate/connectors/rest-connector/rest-connector-calls/#1601990888634-d8b4d645-2e6d

           

          For example, you can set the parameter ‘configuration/http/verbosity/headers‘ to the value ‘Verbose’ or even ‘Debug’, so that in the result, more/all information regarding response headers is included.

          Jennifer Häfner
              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
            2 years ago #35068
            Up
            0
            Down
            ::

            As an addition: we now have an article on how to extract parameters (like CSRF tokens and cookies) from REST response headers in our knowledge base: https://community.simplifier.io/knowledge/rest-use-a-csrf-token-and-a-cookie-to-authorize-requests/

            Christopher Steinbach
                2 years ago #35070
                Up
                0
                Down
                ::

                Thank you that is exactly what i needed.

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

              You must be logged in to reply to this topic.