Thanks, guys.
That helped.
I also found out (not reading the manual - manly I am), that putting
@service.xml before the definition in controller means the xml return
is somewhat mandatory, but you have to use xml in your URL e.g.:
http://example.com/example/default/call/xml/controller/pass_value

Boštjan

On 20 mar., 20:14, Kevin Ivarsen <kivar...@gmail.com> wrote:
> To expand on DenesL's reply, from your controller you would access these
> values in the following ways:
>
> Forhttp://example.com/app/controller/service.xml/somevalueyou would use:
>   request.args(0) # returns "somevalue", or None if nothing is provided
>
> Forhttp://example.com/app/controller/service.xml?key=somevalueyou would
> use:
>   request.vars.get('key')  # returns "somevalue", or None if a key is not
> specified
>
> Hope that helps,
> Kevin

Reply via email to