js Converting the same incoming data to a single data code example
Example: for(let [key,val] in obj){ messageBody = messageBody.replace("{"+ key + "}",val) }
for(let [key,val] in obj){
messageBody = messageBody.replace("{"+ key + "}",val)
}