[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do you do authentication with url.el?
From: |
Artur Malabarba |
Subject: |
How do you do authentication with url.el? |
Date: |
Fri, 13 Nov 2015 01:09:28 +0000 |
I'm trying to communicate with a Restful api using url.el. When it comes to authentication, their documentation simply says to call curl with "-u user:password".
What is the url equivalent of that option in curl? That is, how do I replicate the following command with url-retrieve-synchronously?
curl -u user:password https://gnu.org