You need the latest version of web2py. response.json has been patched in 
this and other ways.

On Wednesday, 13 July 2016 02:53:51 UTC-5, botasserv...@gmail.com wrote:
>
> Massimo, i've downloaded your example with APIMaker and getting error:
>
> <type 'exceptions.TypeError'> json() got an unexpected keyword argument 
> 'indent'
>
> File "applications\collection2\modules\apimaker.py", line 294, in process
>     return response.json(res, indent=2)+'\n'
>
> вторник, 12 июля 2016 г., 11:39:18 UTC+3 пользователь Massimo Di Pierro 
> написал:
>>
>> TW. The name is going to change today. DBAPI will be renamed something 
>> else.
>>
>> On Monday, 11 July 2016 07:43:13 UTC-5, Marlysson Silva wrote:
>>>
>>> Without to use DBAPI but still it would be possible to build API Rest 
>>> with web2py using @restful?
>>>
>>> Managering dal mannualy
>>>
>>> Em segunda-feira, 11 de julho de 2016 09:38:36 UTC-3, Massimo Di Pierro 
>>> escreveu:
>>>>
>>>> This is what the manual has to say about it:
>>>>
>>>>     
>>>> http://web2py.com/books/default/chapter/29/10/services?search=restful#Restful-Web-Services
>>>>
>>>> If you are willing to try something more beading edge:
>>>>
>>>>     http://experts4solutions.com/collection2/default/examples
>>>>
>>>> The latter is experimental, requires both web2py and pydal trunk, and 
>>>> we cannot yet promise backward compatibility.
>>>>
>>>> Massimo
>>>>
>>>> On Monday, 11 July 2016 01:11:38 UTC-5, Rakesh Sinha wrote:
>>>>>
>>>>> Hi All,
>>>>> I am very new to web2py. I need to create some token based REST APIs 
>>>>> which will be consumed by other web application (Also written in web2py).
>>>>> How do we do that in web2py? I have used djanfo REST Framework, is 
>>>>> there anything similar in web2py? Please help. Thaks in advance .
>>>>>
>>>>>

-- 
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/d/optout.

Reply via email to