Skip to content

Commit eddc334

Browse files
Adding cookies docs page
1 parent 4017a97 commit eddc334

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Postman's [native apps](http://www.getpostman.com/apps) provide a Cookie Manager that lets you edit
2+
cookies that are associated with each domain. To open the Cookie Manager, click the 'Manage Cookies' link under the 'Send' button.
3+
4+
![](https://cloud.githubusercontent.com/assets/681190/16948881/e45d4816-4dd4-11e6-96e6-daadd28929a8.png)
5+
6+
This will open up the Cookie Manager window. The section on the left will show a list of domains which you have cookies defined. The section on the right will show you cookies associated with each domain.
7+
8+
![](https://cloud.githubusercontent.com/assets/681190/16949440/74107796-4dd8-11e6-8b6e-4c7d52407fba.png)
9+
10+
### Create a cookie
11+
12+
To add a new cookie, select the domain from the left pane, and enter the cookie string
13+
(according to https://tools.ietf.org/html/rfc6265#section-4.1)
14+
in the input box in the bottom-right corner of the screen.
15+
16+
![](https://cloud.githubusercontent.com/assets/681190/16949369/09af2460-4dd8-11e6-83db-1845afe54104.png)
17+
18+
Clicking the '+' button will add it to the app's cookie store
19+
under the relevant domain.
20+
21+
![](https://cloud.githubusercontent.com/assets/681190/16949373/0a169faa-4dd8-11e6-8c53-272ef7537733.png)
22+
23+
You can also add a cookie by setting a `Cookie` header, and sending a request to an appropriate URL in the main Postman window.
24+
25+
### Adding a domain
26+
27+
If you want to add a cookie for a domain that isn't present in the left pane, you can add one by entering the hostname (without the port, or the `http://`) in the input box on the left. Clicking the '+' button will add it to the domain listing.
28+
You can then add cookies for this domain by selecting it, and entering a new cookie value as described above.
29+
30+
![](https://cloud.githubusercontent.com/assets/681190/16949371/09ec4b4c-4dd8-11e6-8fc6-2dba4ad1ac07.png)
31+
32+
### Updating a cookie
33+
34+
To update an existing cookie, select the domain from the left pane, and the cookie you want to edit from the right pane.
35+
You can edit any property except the cookie name, and hit '+' to update. Changing the name will add a new cookie.
36+
37+
![](https://cloud.githubusercontent.com/assets/681190/16949370/09cb5e96-4dd8-11e6-9d28-ee21e501f875.png)

0 commit comments

Comments
 (0)