post message use json

added termination and stop
every post use json values