<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_records(server, token, domain, data):
 """Create records of specific domain. Arguments: server: TonicDNS API server token: TonicDNS API authentication token domain: Specify domain name data: Create records ContentType: application/json x-authentication-token: token """

    method = 'PUT'
    uri = 'https://' + server + '/zone/' + domain
    for i in data:
        connect.tonicdns_client(uri, method, token, i)