amro / uakari

An API wrapper for the MailChimp STS API (1.0)
MIT License
20 stars 5 forks source link

Uakari possibly double escaping strings? #2

Closed srbiv closed 13 years ago

srbiv commented 13 years ago

I am running into an issue where I think Uakari may be double escaping strings,

Using the following code:

u = Uakari.new(api_key_removed)
u.verify_email_address email({ :email => 'email@example.com' })

The post data sent: POST http://us2.sts.mailchimp.com:443/1.0/VerifyEmailAddress Data: apikey=api_key_removed&email=email%2540example.com

The response: {"aws_type"=>"Sender", "aws_code"=>"InvalidParameterValue", "http_code"=>400, "message"=>"Invalid format for email address"}

Any ideas what might be going on here?

Thanks!

amro commented 13 years ago

Yep, you're correct. Please use 0.1.4, which I just released.

srbiv commented 13 years ago

Thanks!

amro commented 13 years ago

np lemme know if you have any more trouble. thanks for the heads up.