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 openlega...@googlegroups.com
Hi,
How to use the REST API in stateless manner so that each call is fully independent and does not require client to maintain session state between calls?
Best,
Teemu
Roi Mor
unread,
Apr 22, 2015, 4:22:01 AM4/22/15
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 openlega...@googlegroups.com
Teemu,
This is not supported in REST API, only Restful services, which uses connection pooling.
Restful services are not fully functional yet, but provide a good generated code skeleton.
Currently has some compile issues with the generated code.
Teemu Simolin
unread,
Apr 22, 2015, 4:41:00 AM4/22/15
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 openlega...@googlegroups.com
OK, thanks for the information. However, I just wonder if login and logoff calls could be added to a generated REST contoller?
Roi Mor
unread,
Apr 22, 2015, 6:28:36 AM4/22/15
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 openlega...@googlegroups.com
You can customize the generated controller manually.
It's not considered efficient to skip login/logoff without session pooling, as each request will open a new session, and leave it open until Web session timeout.