Created
March 6, 2018 10:16
-
-
Save naartjie/b464a5fea09cd2a218827710774a2aed to your computer and use it in GitHub Desktop.
curl POST example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --request POST \ | |
| --url 'https://usX.api.mailchimp.com/3.0/lists/57afe96172/members' \ | |
| --user 'anystring:apikey' \ | |
| --header 'content-type: application/json' \ | |
| --data '{"email_address":"[email protected]", "status":"subscribed"}' \ | |
| --include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment