alecritson/Placid-Statamic

Can't use variables

Closed this issue · 3 comments

Here is my code:
id comes from other placid with loop. And i want to use that as like examples.
But when I use like that;
{{ placid:request method="get" handle="apiv2" path="/{{ id }}" cache="0" refresh="1200" }} {{ /placid:request }}

It turns me a broken url like (below id, all the data is html)

image

Thanks for the info, I will take a look as soon as I can. What version of Statamic are you using?

hello,

version is: 2.10.3

thanks for your support.

Hi There,

Not sure if this is still an issue, I thought it was a limitation of Statamic but you should be able to do this using single brackets { instead of the double {{, according to the docs:

https://docs.statamic.com/antlers#vars-in-params