I did, but now I see that i didn't put it left enough.
Now the error I get:

  if db(db.auth_user.api_key == post_params.api_key).count():

AttributeError: 'dict' object has no attribute 'api_key'

Maybe I should pop it out of the URL params like you suggested above? 

On Friday, January 31, 2014 9:09:21 PM UTC+2, Anthony wrote:
>
> Is that what's in r.content? If so, looks like you didn't add the return 
> locals() line at the bottom of your api() function.
>
> Anthony
>
> On Friday, January 31, 2014 1:23:53 PM UTC-5, Avi A wrote:
>>
>> rest_action = _action().get(method, None)
>> AttributeError: 'NoneType' object has no attribute 'get'
>>
>>
>> On Friday, January 31, 2014 2:12:44 PM UTC+2, Anthony wrote:
>>>
>>> Yes, now check what is in r.content.
>>
>>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to