on ‎2020 Dec 11 8:00 PM
I want to duplicate a text using my chatbot and an API, so I used the GET and POST method.

But when my text contains an enter the API don't accept it and returns me the error below normaly an enter it's considered like an "\n" but not in this case. Do you have any suggestions ?

this is the what the variable {{api_service_response.default.body.fields.description}} contains
Request clarification before answering.
Hi Saad,
please try using the {{escape variable}} helper as the API you're calling explicitly wants the special characters to be escaped.
e.g.
{{escape api_service_response.default.body.fields.description}}If that doesn't help, please provide an example value of the variable, as it's missing in your post.
Regards
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.