4 Replies Latest reply on Jan 17, 2012 4:58 PM by ctomc

    HTTP API

    smtrax

      I'm using JBoss 7.0.2 and I would like to make my own management for adding, editing and removing Datasources, Queues, Topics, like CLI.

       

      I tryied this examples on: http://community.jboss.org/wiki/HTTPJSON-likeAPI and they works. But this examples are to retrieving information.

       

      Is it even possible to add, modify, or delete data with HTTP API ?

        • 1. Re: HTTP API
          smtrax

          Could someone give me some answer.

          • 2. Re: HTTP API
            daveryan

            These are great questions Mitja, but it can take more than one day for someone to reply. I'd be interested to learn more about what you intend in terms of the interface of GUI for the HTTP API. Are you not happy with the Management Console, or just looking to explore functionality with your own project?

            • 3. Re: HTTP API
              smtrax

              I am happy with Web Console. But I would like have my own managment. And secondly here https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-Managementclients is a writen about it, with no documentation and no examples.

              • 4. Re: HTTP API
                ctomc

                Hey,

                 

                What exactly are you trying to archive? Remove/Add/Modify what?

                 

                On bottom of the page you provided you have examples for POST requests. That is the pattern which allows you to add/remove/modify anything you whant.

                All you need is to know the path and operation that you are doing on that path.

                It is essenstaly  the same as CLI.

                 

                 

                cheers,

                tomaz