Hi all,
I’m trying to send the following data through HTTP node, but am having trouble figuring out how to send the nested data underneath TemplateModel
. I keep getting a “Message received but incompatible JSON” message from Postmark.
I’ve tried a few approaches described in this post and this post, but they are for only one-key objects. I can’t figure out if I should use RAW or try to use the UI just without an expression (if I understand correctly, expressions are basically strings)
Below is the data I’m trying to send over HTTP node:
or as copyable code:
-d '{
"From": "[email protected]",
"To": "[email protected]",
"TemplateAlias": "email-verification",
"TemplateModel": {
"company_url": "company_url_Value",
"logo_url": "logo_url_Value",
"greeting": "greeting_Value",
"instructions": "instructions_Value",
"code": "code_Value",
"optional_instructions": "optional_instructions_Value",
"salutation": "salutation_Value",
"signature": "signature_Value",
"company_name": "company_name_Value",
"company_tagline": "company_tagline_Value",
"subject": "subject_Value"
}
}'