Friendly Path #238
tebosoftware
started this conversation in
General
Replies: 1 comment 1 reply
procedure MyCallBack();
var
LId: string;
begin
LId := Req.Params['id'];
end;
THorse.Get('/client/:id', MyCallBack); |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Good afternoon, is there a way to add a friendly path to the methods looking like this:
/client/1
where would the 1 be converted to a parameter called id?
All reactions