Add endpoint get /posts/edit/:id to get a particular post to edit.