您好以下是我对 Aweber 创建订阅者的请求输入
{ body: '{"tags":[1,2],"email":"<email_id>","ws.op":"create"}',
method: 'POST',
uri: 'https://api.aweber.com/1.0/accounts/<accountID>/lists/<list id>/subscribers',
headers:
{ Authorization: 'OAuth oauth_consumer_key="<consumer key>",oauth_nonce="<oauth_nonce>",oauth_signature_method="<signature>",oauth_timestamp="<timstamp>",oauth_version="1.0",oauth_token="<token>",oauth_signature="<oauth signature>',
'Content-Type': 'application/x-www-form-urlencoded' } }
我在正文中传递电子邮件,但仍然出现错误
{ error:
{ status: 400,
documentation_url: 'https://labs.aweber.com/docs/troubleshooting#badrequest',
message: 'Missing required argument: [email]',
type: 'MissingArgumentError' } }