V14SP1 WAM: Query string format when receiving parameters from other sites.
Posted: Fri Aug 10, 2018 12:59 pm
Hi,
product: WAM
LANSA version: V14SP1
<background>
WAM's Webroutine is called with GET from other site. Other site requests with GET parameters.
<details>
When WAM program receives parameter values ​from other site, we have to write in the query string as follows.
f(field ID) = value
ex.) f(STD_TEXT) = '111'
However, in general, the query string is written as follows.
Parameter name = value
ex.) STD_TEXT = '111'
Currently, it is described as (1) below. However, I would like to write like (2) to receive GET parameters. On other sites, it is difficult to make a GET request in the form of "f(field ID) = value".
(1) https://domain/cgi-bin/lansaweb?wam=TESTWAM&webrtn=wr_Test&ml=LANSA:XHTML&part=tst&lang=JPN&f(STD_TEXT)='111'
(2) https://domain/cgi-bin/lansaweb?wam=TESTWAM&webrtn=wr_Test&ml=LANSA:XHTML&part=tst&lang=JPN&STD_TEXT='111'
Does anyone know how to receive parameters in the form of (2)?
Thank you.
Best regards,
Rieko Saitoh
LANSA japan
product: WAM
LANSA version: V14SP1
<background>
WAM's Webroutine is called with GET from other site. Other site requests with GET parameters.
<details>
When WAM program receives parameter values ​from other site, we have to write in the query string as follows.
f(field ID) = value
ex.) f(STD_TEXT) = '111'
However, in general, the query string is written as follows.
Parameter name = value
ex.) STD_TEXT = '111'
Currently, it is described as (1) below. However, I would like to write like (2) to receive GET parameters. On other sites, it is difficult to make a GET request in the form of "f(field ID) = value".
(1) https://domain/cgi-bin/lansaweb?wam=TESTWAM&webrtn=wr_Test&ml=LANSA:XHTML&part=tst&lang=JPN&f(STD_TEXT)='111'
(2) https://domain/cgi-bin/lansaweb?wam=TESTWAM&webrtn=wr_Test&ml=LANSA:XHTML&part=tst&lang=JPN&STD_TEXT='111'
Does anyone know how to receive parameters in the form of (2)?
Thank you.
Best regards,
Rieko Saitoh
LANSA japan