Test code for post request to python