resend 单次发送命令

Invoke-WebRequest -Uri "https://api.resend.com/emails" `
  -Method Post `
  -Headers @{
    "Authorization" = "Bearer re_"
  } `
  -ContentType "application/json; charset=utf-8" `
  -Body '{ "from": "dism@dmsp.online", "to": ["hi@cursor.com"], "subject": "我早就提前取消了订阅,为什么还要收费呢?", "html": "<p>我一个月以来都从来没有使用过,并且我特意取消了订阅的,还不让我删除信用卡,导致你们收取我费用</p>" }'
posted @ 2025-10-20 14:16  上掌  阅读(9)  评论(0)    收藏  举报