01-13-2023, 06:24 PM
IW uses the standard structure for URL parameters, as below.
Note that URL parameters start with the "?" character, and each parameter is a pair of name and value
?param=value
Use the "&" character to send multiple parameters
In your code, you read these values using WebApplication.RunParams(TStrings):
Note that URL parameters start with the "?" character, and each parameter is a pair of name and value
?param=value
Use the "&" character to send multiple parameters
Code:
http://88.209.225.199:8092/$/start?email=abc@website.com&used_id=1002In your code, you read these values using WebApplication.RunParams(TStrings):
Code:
if WebApplication.RunParams.IndexOfName('email') <> -1 then
begin
lEmail := WebApplication.RunParams.Values['email'];
end;
if WebApplication.RunParams.IndexOfName('user_id') <> -1 then
begin
lEmail := WebApplication.RunParams.Values['user_id'];
end;
