dongyue3795 2016-05-21 10:25
浏览 75

Mailgun:检查用户是否已订阅

I'm using Mailgun API for sending emails in my app. I get to notice that if a user subscribes, and try to subscribe again, mailgun returns an error The parameters passed to the API were invalid. Check your inputs! showing my root directory and the line number. What I want to do is to first of all check if a user has been subscribed, before going ahead to try subscribing. How can I achieve this, please? I'm using PHP.

  • 写回答

1条回答

  • doufubian3479 2016-05-21 10:34
    关注

    According to the mailgun api documentation you can do a request like this: GET /lists//members/

    评论

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题