Working with cookies

  • Native
  • Mac
  • Windows

Postman’s native apps provide a Cookie Manager that lets you edit cookies that are associated with each domain. To open the Cookie Manager, click the ‘Manage Cookies’ link under the ‘Send’ button.

This will open up the Cookie Manager window. This presents you with a list of domains and the cookies associated with them

To add a new cookie, click on the ‘Add Cookie’ button for the domain. A pre-generated cookie string (according to https://tools.ietf.org/html/rfc6265#section-4.1) will be created, but you can edit it using the text input that appears below it.

Clicking ‘Save’ will save it to the app’s cookie store under the relevant domain.

You can also add a cookie by setting a ‘Cookie’ header, and sending a request to an appropriate URL in the main Postman window.

Adding a domain

If you want to add a cookie for a domain that isn’t present in the domain list, you can add one by entering the hostname (without the port, or the http://) in the input box at the top. Clicking the ‘Add’ button will add it to the domain listing. You can then add cookies for this domain by selecting it, and entering a new cookie value as described above.

To update an existing cookie, go to the domain from the domain list, and click the cookie you want to edit. You can edit any property, and hit ‘Save’ to update.