postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.79k stars 839 forks source link

Mock Server - No ability to add Request Headers #7491

Open DannyDainton opened 4 years ago

DannyDainton commented 4 years ago

Describe the bug

When creating a new Mock server, the wording on the modal suggests that the users can add a Request Header to the example request.

To add a body or header to the request, click the (•••) icon.

This is not an option on the list when selecting the (•••) icon. This leads to creating the new Mock Server, with the example requests and then manually going in and editing the example to add the request header you require.

To Reproduce Steps to reproduce the behaviour:

  1. Select the + New Button
  2. Click on Mock Server in the Create New section
  3. Click the (•••) icon

Expected behaviour As the label suggests, I should have the ability to set the Request Header(s) that I require.

Screenshots

Screenshot 2019-10-16 at 17 18 02

App information (please complete the following information):

vvs11 commented 4 years ago

We have changed the content for now to reflect the correct state but will add more options to add headers in the future. Marking it as feature request .