[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you do authentication with url.el?
From: |
Artur Malabarba |
Subject: |
Re: How do you do authentication with url.el? |
Date: |
Fri, 13 Nov 2015 12:05:32 +0000 |
It does. Thanks Lee.
2015-11-13 1:45 GMT+00:00 Lee B <address@hidden>:
>
> 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.