| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- state_parameter = {};
- function state_summary() {
- $.ajax({
- type : 'get',
- dataType : 'json',
- url : '../jaxrs/state/summary',
- contentType : 'application/json; charset=utf-8',
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).always(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
- function state_running() {
- $.ajax({
- type : 'get',
- dataType : 'json',
- url : '../jaxrs/state/running',
- contentType : 'application/json; charset=utf-8',
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).always(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
- function state_organization() {
- $.ajax({
- type : 'get',
- dataType : 'json',
- url : '../jaxrs/state/organization',
- contentType : 'application/json; charset=utf-8',
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).always(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
- function state_category() {
- $.ajax({
- type : 'get',
- dataType : 'json',
- url : '../jaxrs/state/category',
- contentType : 'application/json; charset=utf-8',
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).always(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
|