If i am correct, that is for a single call. I want to use the $resource
call for several calls like update, delete, get, query et cetera. And if
you do not use :id it strips :id but not /id/..
Op woensdag 26 augustus 2015 23:16:59 UTC+2 schreef Matheus Cardoso:
>
> Stefan,
>
> If I'm not wrong you can do the following with Angular:
>
> .factory('API', ['$resource', function($resource){
> return $resource("api/product/id/:id", {id: '@id'});
> }]);
>
> Am I right?
>
> 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.