Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 7682 invoked from network); 21 May 2010 15:53:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 15:53:35 -0000 Received: (qmail 47397 invoked by uid 500); 21 May 2010 15:53:35 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 47319 invoked by uid 500); 21 May 2010 15:53:34 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 47309 invoked by uid 99); 21 May 2010 15:53:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 15:53:34 +0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=AWL,FREEMAIL_FROM,FREEMAIL_REPLYTO,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amir.nagri@gmail.com designates 209.85.212.51 as permitted sender) Received: from [209.85.212.51] (HELO mail-vw0-f51.google.com) (209.85.212.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 15:53:27 +0000 Received: by vws11 with SMTP id 11so866066vws.10 for ; Fri, 21 May 2010 08:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to:from :date:message-id:subject:to:content-type; bh=Ubeh/K+YoTi9U5lQLfxoypDY8CSaD7Qc80011MkOwNY=; b=MMVrLixMkYS3bXycWtkYahYZpwHPbqAZT/yH3PVfqmHXp226WXpXW27Ku5g5ujTIWA EjjEJ31cUcgzZDBAUx4zs9OABGF5d0q6K4AtyQ09u62jc/h2MXtkQ9YTK36RLlPdPWFa aDJ4Dy+aWpWsAXiHzEOaMq73gsILg/nSfHPCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=c3zE1ZtHaoAYek+QPWND2GXO+0ASOjRp+VUn8uanfE6oK+YucLxunmhURth3AvaLaU //r8LmNuI0lKhlrYb+Le5goeox2K8wTBcUjs0owUxZWbc8lcLX8QJ3w8II8Ab6LnoW8Q o++zG2TmKWw3HGa81UMis6zwast2cPSB+UjLY= Received: by 10.229.220.73 with SMTP id hx9mr442693qcb.136.1274457186155; Fri, 21 May 2010 08:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.245.139 with HTTP; Fri, 21 May 2010 08:52:46 -0700 (PDT) Reply-To: amir.nagri@gmail.com From: Amiruddin Nagri Date: Fri, 21 May 2010 21:22:46 +0530 Message-ID: Subject: Sending JSON string in post body To: httpclient-users@hc.apache.org Content-Type: multipart/alternative; boundary=001636284748dcbc8b04871caf4b --001636284748dcbc8b04871caf4b Content-Type: text/plain; charset=ISO-8859-1 Hi, I need to send a JSON string in the body of a post request. The json is going to be a string in the place of body. Since the interface to send paramters in post request is name/value based, is there any way I can send a string in the body of this request. Regards, Amiruddin Nagri, Bangalore, 560008, KA India Y! IM : amir_nagri@yahoo.com GTalk : amir.nagri@gmail.com --001636284748dcbc8b04871caf4b--