POST api for newPost