emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you do authentication with url.el?


From: raman
Subject: Re: How do you do authentication with url.el?
Date: Fri, 13 Nov 2015 10:37:11 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Artur Malabarba <address@hidden> writes:

:-) It's a little known fact, but this aspect of URLs was originally
created to enable accessing ftp content via URLs. > 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.
>

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]