我正在尝试使用邮递员使用 v3 API 通过 Sendgrid 发送电子邮件,我在 3 个不同的请求中创建了 3 个单独的变量,我想在一封邮件中传递所有这 3 个变量,因为我在 sendgrid 下面使用
https://api.sendgrid.com/v3/mail/send
了下面的正文
{
"personalizations": [
{
"to": [
{
"email": "testing@test.com",
"name": "API Testing"
}
],
"subject": "API testing successful"
}
],
"from": {
"email": "noreply@testApi.com",
"name": "API Testing"
},
"content": [
{
"type": "text/plain",
"value": "{{variable1}}" //In variable1 has a dynamic values
}
]
}
但是上述格式将邮件正文发送为 {{Variable1}},有人可以帮我吗?