Fixed Post encoding
Worked on adding trace message