$ curl -ivX POST -H 'Content-Type: application/json' -H 'Hawkular-Tenant: tenant1' 'http://localhost:8080/hawkular/datamining/models/metric1/learn' -d '[
{"timestamp": 1, "value": 1}, {"timestamp": 2, "value": 10}, {"timestamp": 3, "value": 20},
{"timestamp": 4, "value": 40}, {"timestamp": 5, "value": 50}]
]'