<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_template(server, token, identifier, template):
 """Create template. Argument: server: TonicDNS API server token: TonicDNS API authentication token identifier: Template identifier template: Create template datas ContentType: application/json x-authentication-token: token """

    method = 'PUT'
    uri = 'https://' + server + '/template/' + identifier
    connect.tonicdns_client(uri, method, token, data=template)