Application Server: REST Interface

From Resin 4.0 Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Config}} {{WebServer}} {{Cookbook}} The Resin application server has a REST interface for deployment and control. By default the interface is disabled. To enable the inter...")
 
 
Line 9: Line 9:
  
 
Once the three prerequisites are met rest interface is available at its
 
Once the three prerequisites are met rest interface is available at its
default url: http://locahost:8080/resin-rest</p>
+
default url: http://locahost:8080/resin-rest
  
 
''Example: Listing MBeans via REST''
 
''Example: Listing MBeans via REST''
  
 
   curl  --user admin:secret http://localhost:8080/resin-rest/jmx-list
 
   curl  --user admin:secret http://localhost:8080/resin-rest/jmx-list

Latest revision as of 00:00, 29 February 2012

Gears-48.pngWeb-48.pngCookbook-48.png

The Resin application server has a REST interface for deployment and control.

By default the interface is disabled. To enable the interface edit resin.properties to set rest_admin_enable property to true. Also configure admin_user and admin_password.


Once the three prerequisites are met rest interface is available at its default url: http://locahost:8080/resin-rest

Example: Listing MBeans via REST

 curl  --user admin:secret http://localhost:8080/resin-rest/jmx-list
Personal tools
TOOLBOX
LANGUAGES