1$.ajax({
2 type: "POST",
3 beforeSend: function(request) {
4 request.setRequestHeader("Authority", authorizationToken);
5 },
6 url: "entities",
7 data: "json=" + escape(JSON.stringify(createRequestObject)),
8 processData: false,
9 success: function(msg) {
10 $("#results").append("The result =" + StringifyPretty(msg));
11 }
12});