Question
Is it possible to access some topic like .../SomeTopic?foo=bar&x=y
and use the foo and x variables in the topic text?
I was reading the
TWikiForms and
TWikiMetaData but I couldn't figure it out.
Thank you
Environment
--
CarlosSobrinho - 12 Jun 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
You can access url parameters using
%URLPARAM{}%.
--
ArthurClemens - 12 Jun 2007
eg click on the link to change the text below
http://www.twiki.org/cgi-bin/view/Support/GetPostFormData?foo=thisIsAFoo
Thank you very must. BTW, is there anything similar to POST variables?
--
CarlosSobrinho - 14 Jun 2007
HTTP POST works as well. Test:
Result: notta foo
--
PeterThoeny - 15 Jun 2007