Added implement receiving JSON data of post method.