[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you do authentication with url.el?
From: |
Lee B |
Subject: |
Re: How do you do authentication with url.el? |
Date: |
Fri, 13 Nov 2015 10:45:16 +0900 |
On Fri, Nov 13 2015, Artur Malabarba wrote:
> 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
Does something like 'https://username:address@hidden' work?
Lee.