Last modified by Pascal Robert on 2023/08/10 22:21

From version 151.1
edited by David Avendasora
on 2010/11/30 01:02
Change comment: There is no comment for this version
To version 156.1
edited by simon
on 2010/12/01 07:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.avendasora
1 +XWiki.simon
Content
... ... @@ -220,8 +220,16 @@
220 220  
221 221  {{/code}}
222 222  
223 -{{code title="Delete an Instance :"}}
223 +{{code title="Delete an Instance"}}
224 224  
225 225  curl -X GET http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/deleteInstance?id=1
226 226  
227 227  {{/code}}
228 +
229 +{{code title="Configuring the Site"}}
230 +
231 +curl -X PUT -d "{woAdaptor:'www.mydomain.com'}" http://monitorhost:port/cgi-bin/WebObjects/JavaMonitor.woa/ra/mSiteConfig.json
232 +
233 +{{/code}}
234 +
235 +Note that before configuring the site you must first add a host. If you attempt to configure the site prior to adding a host you will get an InvalidStateException.