Updated handling of post response