0
Good afternoon..
I created a Rest Server -> File -> Others -> Delphi Projects -> Datasnap Server -> Datasnap REST Application.
In Unit Servermethods I created a Function..:
Autentica_Usuario (pLogin , pSenha : String) : TJsonArray;
Var
login , Senha : String;
begin
Login := pLogin;
Senha := pSenha;
end;
When I go to Restdebuger in the PARAMETERS TAB and put usuari1,password1 when debugging, the pIt parameter is coming with 'user1,password1' and pIt is coming empty.
How to pass more than one parameter in the REST DEBUGER PARAMETERS TAB???
In this tab there are Add/Edit/Delete buttons of parameters not?
– Tiago Rodrigues
Good afternoon @Tiago Rodrigues ... all right.. Cara ter tem.. I tried to use and it didn’t work. It may be that my function is not done CORRECTLY to be used by the above buttons. But if the function was WRONG , when I call the View Broser and call the function, appears TWO fields to enter the necessary values (login and password) and when RUN the function works perfectly. :)
– Ricardo M.Souza
I know I’ve had that problem too but I honestly can’t remember how I solved it :/
– Tiago Rodrigues