all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Lee B <lboc.home@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: How do you do authentication with url.el?
Date: Fri, 13 Nov 2015 12:05:32 +0000	[thread overview]
Message-ID: <CAAdUY-Lhcoz6FgAdETmVvCsBWTo15Z6v_+DbfG9ZdKAnbC0t6w@mail.gmail.com> (raw)
In-Reply-To: <m2oaeyu0yb.fsf@gmail.com>

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.



  reply	other threads:[~2015-11-13 12:05 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 [this message]
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

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=CAAdUY-Lhcoz6FgAdETmVvCsBWTo15Z6v_+DbfG9ZdKAnbC0t6w@mail.gmail.com \
    --to=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.