In a message of Fri, 12 Jun 2015 10:52:19 -0700, subhabrata.bane...@gmail.com w
rites:
>Dear Group,
>
>I wrote a Python code. In the code there are two modules where we may insert 
>data from outside. They are updating some training module and updating index. 
>As a standalone code this is working fine. 
>
>I need to port this code to REST. I tried to learn Flask. My Practice for 
>Flask is okay. I can put,get,delete. 
>
>But how may I proceed I am not getting much idea. I bit new in REST. 
>If any one of the esteemed members may kindly provide an idea how may I 
>proceed? 
>
>Regards,
>Subhabrata Banerjee.  

All you need now is post.  So it looks as if you have  all the bits you
need, but you don't know how to use them to design an API.

See if this helps.
http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask

If not, you are probably at the stage of posting code here.
Here is my code that doesn't work.
Here is what happens when I run it.
This is what I wish it would do instead.

Right now we don't understand what it is that you don't understand, alas.
Code makes the problem obvious.

Laura

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to