On May 12, 2008, at 2:15 PM, nii amon wrote:
> > Hi > > The standard approach for erlyweb is to use / to separate URL > parameters like so: > > http://server:port/app/controller/function/param1/param2/param3/paramN > > . What if you want to have a URL of the form?: > > http://server:port/app/controller/function? > p1=param1&p2=param2&p3=param3&pN=paramN > > How can you make an erlyweb application accept URLs of that form and > how would you access the URL parameters from that URL in the erlyweb > controller function? These are available through yaws_api:queryvar(A, var_name), http://yaws.hyber.org/yman.yaws?page=yaws_api --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
