package com.growthpush.model;

import java.util.Map;

import org.json.JSONObject;

import com.growthpush.GrowthPush;

public class Model {

	public JSONObject post(final String api, Map<String, Object> params) {
		return GrowthPush.getInstance().getHttpClient().post("1/" + api, params);
	}

	public JSONObject put(final String api, Map<String, Object> params) {
		return GrowthPush.getInstance().getHttpClient().put("1/" + api, params);
	}

}

@@ -28,417 +28,29 @@
 l;%0A%0A
-import java.util.Map;%0A%0Aimport org.json.JSONObject;%0A%0Aimport com.growthpush.GrowthPush;%0A%0Apublic class Model %7B%0A%0A%09public JSONObject post(final String api, Map%3CString, Object%3E params) %7B%0A%09%09return GrowthPush.getInstance().getHttpClient().post(%221/%22 + api, params);%0A%09%7D%0A%0A%09public JSONObject put(final String api, Map%3CString, Object%3E params) %7B%0A%09%09return GrowthPush.getInstance().getHttpClient().put(%221/%22 + api, params);%0A%09%7D
+%0Apublic class Model %7B
 %0A%0A%7D%0A

Remove request method from Model class.