Application Server: REST Interface

From Resin 4.0 Wiki

Revision as of 00:00, 29 February 2012 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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</p>

Example: Listing MBeans via REST

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