Headers not shown in Response panel
Originally posted by user Thien to the Stoplight Community on 06/13/2023 at 04:00 ET.
Hello everyone.
I'm currently facing an issue I'm not sure how to solve.
My API returns a response with 202 HTTP status code and some headers, one of the header is a Location header which contains some info for the client.
Calling the API using Postman, I can view this Location header (please view the attached images). But calling the API through Stoplight, I cannot view the headers in the Response panel (please view the attached images).
In the OpenAPI documentation, I already declared the Location header there.
Is there anything I could do to have the headers shown in the response panel in Stoplight?
Thank you.
Dan T (Staff) [06/13/2023 - 15:59 ET]
Hello Thien,
"Try It" feature for Stoplight hosted API docs does not support displaying the response headers in the response section of the Try It console UI. You would need to cURL or view the browser Network console to view the headers... Or to use Postman to view the response headers. I would like to invite you to Submit an idea in Stoplight's product roadmap as an enhancement idea for the Try It UI. https://roadmap.stoplight.io/tabs/7-under-consideration/submit-idea