Refactor Transmitter http_post spec