fixed old post_json_ok example