Details

      Description

      As a frontend developer

      I want to be able to set headers in the GraphQL explorer

      so that I can benefit from the functionality provided through them, like authentication, localization, etc.

       

      See attachment for the approach Altair took. Use cases that are needed to support:

      1.- Define multiple headers (key-value pairs)

      2.- Modify values

      3.- Remove headers

       

      Acceptance criteria

      Given a Liferay instance with the API explorer enabled

      When a user accesses to HTTP://localhost:8080/o/api from a browser and clicks on "headers"

      Then the user will be able to set HTTP headers

       

      Given a Liferay instance with the API explorer enabled

      When a user accesses to HTTP://localhost:8080/o/api from a browser and clicks on "headers"

      Then the user will be able to modify/remove the HTTP headers

       

      Given a Liferay instance with the API explorer enabled

      When a user sets as header "Accept-Language" and "es-ES" as value and makes a request

      Then the user will retrieve content in spanish

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                manoel.cyreno Manoel Cyreno
                Reporter:
                pablo.agulla Pablo Agulla
                Engineering Assignee:
                SE Support
                Recent user:
                Enterprise Release HU
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  Master