How to Create the RESTful API for the Web Application
830 views
Skip to first unread message
Sanjeet Roy
unread,
May 28, 2012, 2:50:46 PM5/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
Can anyone tell me how to create the API or the RESTful API for the Application which are developed in web2py. I want to develop our own API for my application is it possible? If possible than help me how to develop.
G. Clifford Williams
unread,
May 28, 2012, 3:48:46 PM5/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
In short it's very easy to create rest services with web2py (even without using the built in request.restful() decorator). If you already understand ReST you can get going with a basic controller and the 'generic' views. If ReST is new to you then you'll probably want to take a second to go through the docs first.
I hope that helps.
Sanjeet Roy
unread,
May 28, 2012, 10:17:46 PM5/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
Thanks William i will go through the documentation
Sanjeet Roy
unread,
May 29, 2012, 2:30:32 AM5/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
Hii William I tried the example which are given but i get the empty value in the json and the xml which are returned
Sanjeet Roy
unread,
May 29, 2012, 5:03:52 AM5/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
Hii actually i developed the one chrome extension by using manifest.json which is used to pop-up the html page where i want the value in drop-down when the user will be login and they can also post some Queries from the extension which will be stored in our database.