finish new post api