How to escape “” and “\” contained in text parameters
complete
R
Ryoto Arai
For example,
parameters
title: text
Request Types
JSON
Request Body
{“title”: “{{title}}”}
When specified, if “” or “\” is included in the title parameter, they will not be escaped properly, and the request may fail.
It is possible to send the intended request by manually escaping it when entering, but is there a way to escape automatically??
ベースマキナサポート担当
marked this post as
complete
ベースマキナサポート担当
Ryoto Arai
I'm indebted to you.
Thank you for the detailed explanation.
Currently, string replacement processing is effective only for replacing line break characters in multi-line text.
Since it is not a function to replace and escape arbitrary characters with normal text, I think there is a high possibility that it does not fit the issues you shared.
We will consider adding this function internally.
Also, although it is a slightly aggressive solution, if you create a UI for input/result display with a view function, you can freely assemble the request body.
If you don't mind solving it by supporting view creation on our side, please feel free to ask on our Slack channel.