Updating Last Connection User Rest Service

Is there some REST service in order to update Last Connection User?

 

I was thinking in login service, but I got Exception using postman.

I'm using POST Service

URL  -> ... /V01/API/loginservice

Headers

Content-Type -> application/json

Body -> raw

{"username":"CODEUSER","password":"","redirect":"true"}

JSON

 

RESPONSE

{

    "message": "Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.StringReader@72e197e4; line: 6, column: 2]",

    "type": "org.codehaus.jackson.JsonParseException"

}

 

 

Hi,

the loginservice does not support json content-type. You have to use application/x-www-form-urlencoded like explained here

HTH

Romain