You are not logged in.
Pages: 1
Hi
serviceRunningContext^.Request.InBody is not valid json.
this is service method:
function TAuthenticationService.Login(const UserName, Password: RawUTF8): RawJson;
begin
var a := serviceRunningContext^.Request;
var b := TPassakRest(Server).fRestServerAuthentication;
TRestServerAuthenticationJWT(b).Auth(a);
end;body json is:
{
"UserName": "Admin",
"Password": "synopse"
}
serviceRunningContext^.Request.InBody is
{"UserName: "Admin "Password: "synopse
Last edited by anouri (2025-11-02 10:07:02)
Offline
Solved
Thank you.
Offline
Pages: 1