Extracted post-method and post-data-generation code out into own classes to make Code Climate happy.
Merge pull request #8 from kaspernj/kj/post_data_generator_and_request_in_own_classes

Post-code extracted to own classes.