Apache Unomi 2.x - Documentation
properties for URL parameters: The following event example in Apache Unomi 1.x: curl --location --request POST 'http://localhost:8181/cxs/scopes' \ -u 'karaf:karaf' \ --header 'Content-Type: application/json' get a certificate warning in your browser, just accept it despite the warning it is safe. 10) Request your first context by simply accessing : http://localhost:8181/cxs/context.js?sessionId=1234 11) location: http://localhost:8181 Also now that your service is up and running you can go look at the request examples to learn basic requests you can do once your server is up and running. 2.4. UNOMI WEB0 码力 | 117 页 | 4.78 MB | 1 年前3Apache Unomi 1.x - Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.3. Request examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.8. Context Request Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Apache Unomi 1.x - Documentation - 5 10) Request your first context by simply accessing : http://localhost:8181/context.js?sessionId=1234 11) If0 码力 | 158 页 | 3.65 MB | 1 年前3Apache Unomi 1.1.x - Documentation
"trackedConditions":} We will look at the details of the context request and response later. 2.3. EXAMPLE 2.3.1. OVERVIEW We will examine how a simple HTML page can interact Twitter API to react to clicks on this button and update the user profile using a ContextServlet request triggering a custom event. This event will, in turn, trigger a Unomi action on the server implemented is accomplished using a contextRequest function which is an extended version of a classic AJAX request: function contextRequest(successCallback, errorCallback, payload) { var data = JSON.stringify(payload); 0 码力 | 32 页 | 477.20 KB | 1 年前3
共 3 条
- 1