changed getPost uri response as JSON response