Logging Controller

Log Interation

Path: /api/log/interaction

Method: POST

Example Http Request

POST /api/log/interaction HTTP/1.1
Content-Type: application/json
Content-Length: 127
Host: localhost:8080

{"sessionId":null,"category":"My Category","item":"Item being Logged","action":null,"message":"Details of Item being logged. "}

Example Http Response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers

Example Curl Request

$ curl 'http://localhost:8080/api/log/interaction' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"sessionId":null,"category":"My Category","item":"Item being Logged","action":null,"message":"Details of Item being logged. "}'

Logging Controller