Response response = httpPost(url, params.toArray(new PostParameter[params.size()]), true);
try {
return new ScaleMeasurementLog(response.asJSONObject().getJSONObject("scaleMeasurementLog"));
} catch (JSONException e) {
throw new FitbitAPIException("Error parsing json response to scale measurement log: " + e, e);
}
}