我正在尝试使用邮递员使用v3 API通过Sendgrid发送电子邮件,我已经在3个不同的请求中创建了3个单独的变量,我想在一封邮件中传递所有这3个变量,为此我在sendgrid下使用了https://api.sendgrid.com/v3/mail/send
与下面的身体
{
"personalizations": [
{
"to": [
{
"email": "[email protected]",
"name": "API Testing"
}
],
"subject": "API testing successful"
}
],
"from": {
"email": "[email protected]",
"name": "API Testing"
},
"content": [
{
"type": "text/plain",
"value": "{{variable1}}" //In variable1 has a dynamic values
}
]
}
但是上述格式将邮件正文发送为{{Variable1}},有人可以帮我吗?
根据我对问题的了解,您希望发送多个具有不同值的请求。