-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Component/s: Headless Delivery API
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Epic Link:
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
- Testing discovered
-
LPS-113900 Success or Error message not appear
- Closed