Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including string literal {{ ... }} in HTTP request body #1185

Open
kim-seungsu-edash opened this issue Mar 6, 2025 · 0 comments
Open

Including string literal {{ ... }} in HTTP request body #1185

kim-seungsu-edash opened this issue Mar 6, 2025 · 0 comments

Comments

@kim-seungsu-edash
Copy link

kim-seungsu-edash commented Mar 6, 2025

I'm sorry for create duplicated issue. I don't have a permission to re-opening original issue #828 .

As same as the original issue, i also want test API with request body which has {{ ... }} literal.
I'm trying to solution in this comment like this:

          body:
            application/json:
              reminder:
                subject: "\{\{COMPANY_NAME\}\} \{\{USER_NAME\}\}"
                body: "\{\{COMPANY_NAME\}\} \{\{USER_NAME\}\}"

but, the received request body was

{
  "reminder": {
    "body": "\\{\\{COMPANY_NAME\\}\\} \\{\\{USER_NAME\\}\\}",
    "subject": "\\{\\{COMPANY_NAME\\}\\} \\{\\{USER_NAME\\}\\}"
  }
}

Please let me know if there is any other solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant