tkf / emacs-request

Request.el -- Easy HTTP request for Emacs Lisp
http://tkf.github.com/emacs-request/
GNU General Public License v3.0
629 stars 93 forks source link

[Question] Clean cookies. #155

Closed jcs090218 closed 5 years ago

jcs090218 commented 5 years ago

Is there a way that I can cleanup cookies? So every time I made a request I will get all brand new and refreshed cookie? Thanks!

dickmao commented 5 years ago
(let ((request--curl-cookie-jar (expand-file-name (make-temp-name "my-cookie-")
                                                  temporary-file-directory)))
  (request "https://leetcode.com"))