added synchronous post request