Forum Discussion

Henrik's avatar
Henrik
Advisor
12 years ago

How to call an endpoint with rest?

Hi,

 

I'm using endpoints for AJAX calls, but I'd like to know if it is possible to call an endpoint using rest in a custom component?

Something like:

<#assign response = rest("/endpoint/url") />

 

Thank you for the help!

 

Henrik