Search in Flask Restful

subhabrata.banerji at gmail.com subhabrata.banerji at gmail.com
Thu Jul 23 10:20:04 EDT 2015


Dear Group,

I am trying to build one REST framework using Restful Flask. 
To put or get I am trying to use the requests module, as 
given in the following lines.

>>> var2=requests.put('http://127.0.0.1:5000/todos/todo1', data={'task': 'It is my challenge'})
>>> var3=requests.get('http://127.0.0.1:5000/todos/todo1')

Now I like to search plain as well as Boolean over this Rest.

If I could understand the problem fine, the exercises are given 
in the following URL.

http://flask-restless.readthedocs.org/en/latest/searchformat.html#examples

But I am looking for examples with requests. I searched for help with requests 
in http://docs.python-requests.org/en/latest/, it did not help much.

If anyone of the esteemed members may kindly suggest.

I am using Python2.7+ on Windows 7. Apology for any indentation error. 


Regards,
Subhabrata Banerjee



More information about the Python-list mailing list