I have realized if my body contains the object literal {example}, it will have some weird behavior
For example:
data is
{ "name": "my name is {test}" }
and this is what I receive in another end:
{ "name": "my name is my name is {test}" }
Seems like a bug, or could it be intended but undocumented (I couldn't find any resources mentioning this). Is there a way that I can remain the original text while using the template variables?
Based on the example on https://loopback.io/doc/en/lb3/REST-connector.html
and I have the following template like this (simplified):
I have realized if my body contains the object literal
{example}
, it will have some weird behaviorFor example:
data
isand this is what I receive in another end:
Seems like a bug, or could it be intended but undocumented (I couldn't find any resources mentioning this). Is there a way that I can remain the original text while using the template variables?
Additional Info:
package.json