handle post and parse json