def post_data(self, action, parameters=None):
        if not parameters:
            parameters = {}
        post = {}

        post['version'] = API_VERSION
        post['login'] = self.login
        post['tran_key'] = self.password
        post['relay_response'] = "FALSE"
        post['type'] = action
        post['delim_data'] = "TRUE"
        post['delim_char'] = DELIM_CHAR
        post['encap_char'] = ENCAP_CHAR

        post.update(parameters)
        return urlencode(dict(('x_%s' % (k), v) for k, v in post.items()))

    # this shoud be moved to a requests lib file
Initialize the _Database instance.
dataset/ETHPy150Open agiliq/merchant/billing/gateways/authorize_net_gateway.py/AuthorizeNetGateway.post_data--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/_Database.__init__