Get data from the URL (GET variables):
Sample URL: https://documentation.com/samples/arr/qs0value/qs1value/?request1=value1&request2=value2
1 2 3 4 5 6 7 |
[aw2.get request dump=t /] ( Access POST and GET variable values ) O/P: array(2) [ "request1" => string(6) "value1" "request2" => string(6) "value2" ] |
POST variables:
1 2 3 |
[aw2.get request.request2 /] O/P: value2 |
————————————————–
URL pieces:
App: samples
Module: arr
1 2 3 4 5 6 7 8 9 10 11 |
[aw2.get qs dump=t /] ( Access URL pieces ) O/P: array(2) [ 0 => string(11) "qs0value" 1 => string(11) "qs1value" ] [aw2.get qs.0 /] O/P: qs0value |