KPNOnline
10 years agoMentor
Get local json asset in Freemarker
How to get content of a local (json) asset?
For external assets I could do something like this:
<#assign response = http.client.request("qszwf76546.stage.lithium.com/html/assets/header-settings.json").json() />
But how do I grab a local assets content and parse it as a freemarker hash?
Thanks
Closing the loop here. You can't use http.client with Lithium domain.