Python Http Post Json Javascript Setinterval With Parameters Definition