How to clear cookies in Postman?

Clearing cookies in Postman can be accomplished through simple steps: first, clear all or specific cookies in the Cookie Manager, ensuring effectiveness after sending requests.

Home > Blog > How to clear cookies in Postman?

Regardless of optimizing development processes or enhancing work efficiency, effectively managing cookies is an indispensable aspect. In Postman, clearing cookies is an important step to ensure request accuracy and security. This article will provide a detailed guide on how to clear cookies in Postman. Below is a visual tutorial on how to perform this operation:

Open a project in Postman, then select a request within the project. On the right side of the request tab, next to the "Send" button, you will see a button labeled "Cookies." Click this "Cookies" button to open Postman's cookie manager.

clear cookies in Postman

Upon clicking, a window will appear listing all cookies associated with that request. To clear all cookies, you can click the "Clear All Cookies" button at the bottom of the window. If you only want to remove a specific cookie, locate it in the list and click the X icon next to it to delete.

clear cookies in Postman

Remember that for the deletion to take effect, you need to send the request afterward. This is one way to clear cookies in Postman.

Additionally, another method is to use the shortcut "Ctrl+Shift+i" to open Postman's built-in browser console. Here, you can also clear global cookies, similar to a browser's console.

clear cookies in Postman

Important Note: In some cases, it may be necessary to restart Postman to ensure that cleared cookies are not cached and used again. Also, ensure that you are following the instructions based on the actual interface of your Postman version, as software updates may change the design of the mentioned locations and icons.

After following the above steps, you can send a simple request to verify if the cookies have been cleared. If the previously cached cookies no longer affect the request, then the cookie clear was successful.

Conclusion

Clearing cookies in Postman can be accomplished through simple steps: first, clear all or specific cookies in the Cookie Manager, ensuring effectiveness after sending requests. Another method is to use the shortcut "Ctrl+Shift+i" to open the built-in browser console and clear global cookies. Restarting Postman can ensure that cleared cookies are not cached.

How to clear cookies in Postman?
Clearing cookies in Postman can be accomplished through simple steps: first, clear all or specific cookies in the Cookie Manager, ensuring effectiveness after sending requests.

Reference:

Learn more: