I'm doing the OAuth dance and have made it to the step where I must POST to
https://login.mailchimp.com/oauth2/token with the code that I received from the first step.
The url that I POST to is, I believe, valid;
code=CODE_FROM_STEP_ONE
&client_secret=CLIENT_SECRET
&grant_type=authorization_code
&client_id=CLIENT_ID
&redirect_uri=http%3A%2F%2F127.0.0.1%3A5000%2Foauth_success
but I receive this error.
{u'error_description': u'Invalid grant_type parameter or parameter missing', u'error': u'invalid_request'}
I'm sending the content type 'application/x-www-form-urlencoded', and have tried ordering the query parameters to no avail.