Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Sending CURL requests through ZSH fails
- X-seq: zsh-users 19263
- From: Yazin <i@xxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Sending CURL requests through ZSH fails
- Date: Sun, 19 Oct 2014 11:48:59 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=yaz.in; h=From:Subject:Message-Id:To:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=i@xxxxxx; bh=bKzwTMkm+CpbSmNlKb4oK17Lez8=; b=NNRXYycXbAz3XPlQn1vXLhl9xr1xzsjTCX7Dd6AQp1+2NFLsiPDogtfC9SNGvrszdycKfWt4MM6P SFpatuzHy6gcAdVdSNoJZ5Si+oTyzcK2NcyMSSNJduUECIl/6274leUsDt42qye1EnjnUcOFzNH4 z2Mfi1qZPkj7a1or8nc=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1413719339; h=From : Subject : Message-Id : To : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=OhFMNA0gvy5bXm3NXXCTsF8BH9BFXukii7tycxBUJ6Y=; b=IIRVRuj5PKNEkLwAZsotK6NEX8aYrCi7K+kROKTO8tZcGJxYcFDUdVWHPAA/i177HNjBlO 1tDXbRRomwzGN3lNyZoCiAuKFWQECLrOheA8We/5UjnIkFO/vbG4znt3DsBGE/QPNPBL5zpO SVMPdLq5o5nzSQVWEphWrHb7QuNs0=
- Domainkey-signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=yaz.in; b=e/CBLEWaZ7SYBgf4kQhfZqVStj9jVQMIazRoX42CoRuwaKVUExo0JCkw/USXTX7/ffWuSYPNt+QF V8MGqYQUV/i9pu49ChIF4gfi2PMNWvM3pIjlpyK6VGSpWenJrCoGICzdtN39LUUB+R3HjzN2w5FT PeKz53FpsqXR09xPDxg=;
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I've got the following CURL request. Sending it through ZSH fails, while
sending it through the default Ubuntu shell (SH) works.
Command:
curl https://api.stripe.com/v1/charges \
-u sk_test_123495219ba2f84566e63fca0535d343: \
-d amount=10.500 \
-d currency=usd \
-d card[number]=4242424242424242 \
-d card[exp_month]=11 \
-d card[exp_year]=2014 \
-d card[cvv]=123 \
-d "description=Charge for test@xxxxxxxxxxx"
Expected output (the output I get from SH):
{
"error": {
"type": "invalid_request_error",
"message": "Invalid API Key provided:
sk_test_****************************d343"
}
}
Actual output (from ZSH):
zsh: no matches found: card[number]=4242424242424242
Messages sorted by:
Reverse Date,
Date,
Thread,
Author