unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: HTTP POST requests with url.el
Date: Fri, 20 Oct 2006 14:59:47 -0400	[thread overview]
Message-ID: <jwvejt2izkt.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 87ejt2ewhg.fsf@baldur.nicundtas.de

>          (url-request-data (concat "u=" emms-lastfm-username
>                                    "&s=" (md5 (concat
>                                                (md5 emms-lastfm-password)
>                                                emms-lastfm-md5-challenge))
>                                    "&a[0]=" artist
>                                    "&t[0]=" title
>                                    "&b[0]=" album
>                                    "&m[0]=" musicbrainz-id
>                                    "&l[0]=" track-length
>                                    "&i[0]=" date "\r\n")))

> Does anyone know what I'm doing wrong, or how I can find the bug?

Could it be that the data needs to be be url-encoded (SPC -> %20)?


        Stefan

  reply	other threads:[~2006-10-20 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20 17:19 HTTP POST requests with url.el Tassilo Horn
2006-10-20 18:59 ` Stefan Monnier [this message]
2006-10-20 19:34   ` Tassilo Horn
2006-10-20 20:03     ` Tassilo Horn
2006-10-20 22:04   ` Andreas Seltenreich
     [not found]   ` <mailman.48.1161381893.27805.help-gnu-emacs@gnu.org>
2006-10-24 15:44     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvejt2izkt.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).