Actually with this declaration, you can do "update, delete, get, query et 
cetera", because Angular knows what to do in each case. However, you r 
right about not stripping "/id", hence it would not works with web2py API. 
But I'll make a long shot guess: considering that you can override 
controllers url in routes.py, I think that you could do the same with API 
urls removing "/id". 

On Tuesday, August 25, 2015 at 10:37:15 AM UTC-3, Stefan van den Eertwegh 
wrote:
>
> Hi everyone,
>
> If i search on authentication for restfull API web2py i get basic auth as 
> a result in google and google groups.
> Does anyone know how to use a token authentication for the Restfull 
> service like db.auth_user.token ...?
>
> Thanks!
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to