yes i know i´m just confused because of the error. That is why i went to the console to test it
the ajax function does not work if it is get called by a view that has a controller with @auth.requires_signature() Its that right? Thank you António 2013/1/18 Niphlod <niph...@gmail.com> > 'echo' is the url you're trying to call ...... usually is > /app/controller/function . 'echo' alone gets evaluated depending on the > page you're on, appending to (or replacing the last bit of) the current > url. > > On Friday, January 18, 2013 5:06:01 PM UTC+1, Ramos wrote: >> >> hello >> >> i made this simple test >> >> in javascript chrome console i typed >> >> ajax('echo', ['name'], 'target') >> to call my function >> >> and it returns >> GET >> http://192.168.1.167:8000/**empre2/default/user/not_**authorized<http://192.168.1.167:8000/empre2/default/user/not_authorized>403 >> (FORBIDDEN) >> >> >> thank you >> António >> > -- > > > > --