class SendWithUs {

    public RenderedTemplate render(String templateId,
            Map<String, Object> templateData) throws SendWithUsException
    {
        Map<String, Object> sendParams = new HashMap<String, Object>();
        sendParams.put("template_id", templateId);
        sendParams.put("template_data", templateData);

        String url = getURLEndpoint("render");

        String response = makeURLRequest(url, "POST", sendParams);

        Gson gson = new Gson();
        return gson.fromJson(response, RenderedTemplate.class);
    }

    public  SendWithUs(String apiKey);
    public  SendWithUs(String apiKey, SendWithUsApiLocation sendWithUsApiLocation);

}