cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Page with Call to POST webscript

puviarasu
Champ in-the-making
Champ in-the-making
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?


3 REPLIES 3

puviarasu
Champ in-the-making
Champ in-the-making
Thanks in advance!!!

yogeshpj
Star Contributor
Star Contributor
why you need post call? can you please mention your need ?

puviarasu
Champ in-the-making
Champ in-the-making
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