com.ecwid.mailchimp.connection
Interface MailChimpConnectionManager
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- HttpClientConnectionManager, JavaNetURLConnectionManager
public interface MailChimpConnectionManager
- extends Closeable
Abstract connection manager to access MailChimp API service point.
- Author:
- Vasily Karyaev
post
String post(String url,
String payload)
throws IOException
- Make a POST request to MailChimp API service point.
- Parameters:
url
- URL to post data topayload
- data to post
- Returns:
- service endpoint response body if the response was successful (a 2xx status code)
- Throws:
IOException
- if an I/O error occurred during the communication,
or if the service point response was unsuccessful (>= 300 status code)
Copyright © 2012-2014 Ecwid, Inc. All Rights Reserved.