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