{
"From":"[email protected]", "To":["[email protected]"],
"Cc":["[email protected]"], "Bcc":["[email protected]"],
"Subject":"Export", "TemplateName":"Agent",
"EmailType":"Agent", "Attachments":[{
"Name":"wifi.txt", "Type":"txt",
"StreamData":{"NzI5OTk4NzgxNg0KDQoxIG0tNjczDQoNCjJtLTExMjINCjRtLTE1NzENCjgtMjE4Mw0KDQoxMDYxDQoNCjUwMCBtb2RlbSByZWZ1bmRhYmxl"}}]` ``
}`input json``
I'm calling one method by passing this value as input json using postman, but the StreamDate value alone coming as null.
Can someone please help me on this?
Well it's an invalid JSON object.
StreamData has to be either a string or an object with a key.
Try
{
"From":"[email protected]",
"To":["[email protected]"],
"Cc":["[email protected]"],
"Bcc":["[email protected]"],
"Subject":"Export",
"TemplateName":"Agent",
"EmailType":"Agent",
"Attachments":[{
"Name":"wifi.txt",
"Type":"txt",
"StreamData": "NzI5OTk4NzgxNg0KDQoxIG0tNjczDQoNCjJtLTExMjINCjRtLTE1NzENCjgtMjE4Mw0KDQoxMDYxDQoNCjUwMCBtb2RlbSByZWZ1bmRhYmxl"
}]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With