tkf / emacs-request

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

get/post to sites in https using certificates #194

Closed matteoredaelli closed 3 years ago

matteoredaelli commented 3 years ago

I can do get/post requests to website in https using certificates. I'd like to d the same with this package.

is it possibile?

Regards M

dickmao commented 3 years ago

Maybe something like:

(let ((request-curl-options (split-string "--key ./admin-key.pem --cert ./admin.pem"))
      (request-backend 'curl))
  (request "https://example.com"))

You'll have to play around with request-curl-options.