#Treating {{1}} as text and not JSX in appsmith

1 messages · Page 1 of 1 (latest)

barren peak
#

I need to send some text in moustache handlebars {{}} in my payload. But appsmith is treating it as JSX and substituting values for it. How can I ensure that it is treated as text. ? Here is the sample payload: Hi {{1}} {{2}} sign up to get {{3}} access to ...... Valid for {{4}} days till {{5}}

near owlBOT
#

Hey There,

We've registered your query, and our team will get back to you soon.

Regards,
Pranav

barren peak
#

Hi Could you please suggest a way out!

near owlBOT
#

Hello there!
You can wrap a double quote around the part you want as a plain string (see
attached image). Although the syntax highlighting might highlight it as if it's
parsed, it should get to your API as a plain string.

Please let me know if this works for you.

barren peak
#

Hi this is not working! it is still replacing the values

barren peak
#

Could you give a workaround, because it affects a good propotion of our api calls