@Override
    protected String doInBackground(String... params) {
      String result = "";

      try {
        String url = "http://listasupermercadows.apphb.com/api/listaws/";

        HttpClient httpclient = new DefaultHttpClient();

        HttpPost httpPost = new HttpPost(url);

        String json = "";

        JSONObject jsonObject = new JSONObject();
        jsonObject.accumulate("Nome", produto.getNome());
        jsonObject.accumulate("Quantidade", produto.getQuantidade());
        jsonObject.accumulate("ContaId", produto.getContaId());

        json = jsonObject.toString();

        StringEntity se = new StringEntity(json, "UTF-8");

        httpPost.setEntity(se);

        httpPost.setHeader("Accept", "application/json");
        httpPost.setHeader("Content-type", "application/json");

        HttpResponse httpResponse = httpclient.execute(httpPost);

      } catch (Exception e) {
        Log.d("Erro", e.getLocalizedMessage());
      }
      return result;
    }