Refactored rawPost() into method class RawPost.