Added handling for simple post request