feat(post): resolve the promise if the request succeed