danesparza / MailChimp.NET

:envelope: .NET Wrapper for the MailChimp v2.0 API
MIT License
179 stars 119 forks source link

Refactored MailChimpExport.cs to use ServiceStack to create URL Request #93

Closed Richard-West closed 10 years ago

Richard-West commented 10 years ago

Previously MailChimpExport.cs used a custom method, ReturnFullUrlWithParameters, to create the full MailChimp URL.

This was rewritten to use ServiceStack, which allowed the custom ReturnFullUrlWithParameters function to be eliminated.

The _httpsUrl string was updated to include a trailing slash, which prevents a HTTP redirect when used with a POST request. This redirect did not include the original data POSTed to the API endpoint, and would therefore fail with a no API key error.

danesparza commented 10 years ago

@Richard-West Thanks!