Relative Content

Tag Archive for pythonapinewlinezeptomail

Adding variables to an API payload with new lines in python

I am pretty new to Python, and what I’m trying to achieve is to add variables to the payload below in Python; it’s meant for Zeptomail API, and I’m trying to customize and add user-specific data to the payloads ‘merge info’ and the ‘to’ header before sending the email template.