Custom Page with Call to POST webscript

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2016 01:40 AM
Hi, I have created a new alfresco Surf page with GET webscript in its component and it loads fine.
But I would like to bind a POST webscript via template instance to the page. Is it possible?
But I would like to bind a POST webscript via template instance to the page. Is it possible?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2016 01:45 AM
Thanks in advance!!!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2016 05:57 PM
why you need post call? can you please mention your need ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 01:58 AM
Hi Yogesh,
We are calling a repo webscript when a doclib action is performed. The JSON response of the webscript is in doclib action's Javascript, where we are checking the response for a field and redirecting the response to an Alfresco page. We want to transfer the JSON response to page's webscript without appending the response as URL params. In order to send the response in request body we need to bind the page with POST webscript. Is that possible?
Thanks,
Puvi
We are calling a repo webscript when a doclib action is performed. The JSON response of the webscript is in doclib action's Javascript, where we are checking the response for a field and redirecting the response to an Alfresco page. We want to transfer the JSON response to page's webscript without appending the response as URL params. In order to send the response in request body we need to bind the page with POST webscript. Is that possible?
Thanks,
Puvi
