Forum Discussion

smogger914's avatar
10 years ago

Previewing response of REST call

Lets say I am doing something like:   <#assign recent = rest("/boards/id/somethingcool/topics/recent")/>   Simply doing:   ${recent} throws me an error in the template.   Is there a way I can...
  • VarunGrazitti's avatar
    10 years ago

    smogger914 - You need to use restd to make this call.

     

    <#assign recent = restd("/boards/id/somethingcool/topics/recent")/>

     

    I hope this helps.