prateek-hcl
12 years agoContributor
Using rest() method for making restAPI call from endpoint
We use <#assign message = restadmin("/messages/id/${mid}").message /> to make API call.
Restadmin method adds the complete restAPI path and makes the call.
Is there anyway where we can give the complete absolute path to make the call?
Something like this, <#assign message = restadmin("http://www.abc.com/mno/xyz/messages/id/${mid}").message />
I have to make api call to an outside environment.
Thanks in advance,
-Prateek