updated webapp post request rest
added post error flows