From: raman <raman@google.com>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>, Lee B <lboc.home@gmail.com>
Subject: Re: How do you do authentication with url.el?
Date: Fri, 13 Nov 2015 10:37:11 -0800 [thread overview]
Message-ID: <p91egft4ug8.fsf@google.com> (raw)
In-Reply-To: <CAAdUY-Lhcoz6FgAdETmVvCsBWTo15Z6v_+DbfG9ZdKAnbC0t6w@mail.gmail.com> (Artur Malabarba's message of "Fri, 13 Nov 2015 12:05:32 +0000")
Artur Malabarba <bruce.connor.am@gmail.com> 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 <lboc.home@gmail.com>:
>>
>> 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:password@domain' work?
>>
>> Lee.
>
--
prev parent reply other threads:[~2015-11-13 18:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAdUY-+p_joWLLWKQPjRJQ774EanB9jePOFthp_V-OsNJPaNNQ@mail.gmail.com>
2015-11-13 1:09 ` How do you do authentication with url.el? Artur Malabarba
2015-11-13 1:45 ` Lee B
2015-11-13 12:05 ` Artur Malabarba
2015-11-13 13:05 ` Artur Malabarba
2015-11-13 13:16 ` Artur Malabarba
2015-11-13 14:18 ` Dan LaManna
2015-11-13 14:34 ` Artur Malabarba
2015-11-13 18:37 ` raman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p91egft4ug8.fsf@google.com \
--to=raman@google.com \
--cc=bruce.connor.am@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=lboc.home@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.