Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 957F410AA5 for ; Wed, 19 Mar 2014 00:13:44 +0000 (UTC) Received: (qmail 76222 invoked by uid 500); 19 Mar 2014 00:13:34 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 76100 invoked by uid 500); 19 Mar 2014 00:13:33 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Delivered-To: moderator for user@hadoop.apache.org Received: (qmail 66686 invoked by uid 99); 18 Mar 2014 10:16:44 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of asif.sajjad.edu@gmail.com designates 209.85.128.193 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rbNP4RjxQzzDRJqcWvJoOdIYNGqtK3y0ALpftQrR7DE=; b=YC7fPG2WAuwnYLYY4XvRqgjN9xBXSeVz6iyrZw3o3mxGvrlDIoflfJ5QrXdvePED9i mLDzEQ0VTAfEvzn9kMHohU709ach3HiUbsFdc9aYrXJPRUhFize8ezUsCdBWrAzv0+rk 84Ja4UTDqTMO3yNy4rkSUUuDV6ImIK6u0KgicBG2TB/KBhiRTW4lUF8rbFb2JFxFZFTK SsCe10+ZM3wzrMyyrnSPuozlNi8MtvhA5XbZGNNIuT2EizfH1bv2Pphk2B7RWvisEABB PsnIRAgK2nykwMbD1ehD+tM1HjWIGBa/v8NqWg+0amkIs5iyjnWxa26JvHOXkFmGJU8c 3o9Q== MIME-Version: 1.0 X-Received: by 10.52.142.10 with SMTP id rs10mr20447181vdb.3.1395137776353; Tue, 18 Mar 2014 03:16:16 -0700 (PDT) Date: Tue, 18 Mar 2014 15:16:16 +0500 Message-ID: Subject: How to call POST,PUT and Delete Restful Web Services of Apache Ambari From: asif sajjad To: ambari-dev@ambari.apache.org, user@hadoop.apache.org Content-Type: multipart/alternative; boundary=bcaec51a719092860404f4ded342 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51a719092860404f4ded342 Content-Type: text/plain; charset=ISO-8859-1 Hi, I want to create Cluster by calling Apache Ambari Restful API's. I am using Restful API's client named as Postman Rest Client. GET Requests are working fine but POST,PUT and Delete are not working. Help me in this Regard please *Example:* I want to add Cluster by below URL, but it's not working. POST REQUEST http://AmbariServerIP:8080/api/v1/clusters/c1 Best Regards, Asif Sajjad --bcaec51a719092860404f4ded342 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi,


<= /p>

I want to create Cluster by calling Apache Ambari= Restful API's. I am using Restful API's client named as Postman Rest Client= . GET Requests are working fine but POST,PUT and Delete are not working. Help me in this Regard please

=A0

Example:

I want to add Cluster by below URL, but it's not= working.

POST REQUEST

http://AmbariServerIP:8080/api/v1/clusters/c1



Best R= egards,


Asif Sajjad

--bcaec51a719092860404f4ded342--