'Create a database on the InfluxDB server.
:param database: the name of the database to create
:type database: string
:rtype: boolean'

def create_database(self, database):

    url = 'db'
    data = {'name': database}
    self.request(url=url, method='POST', data=data, expected_response_code=201)
    return True
