I want to know how to send a Boolean request in action
complete
福
福間 雄基
When using the HTTP API for actions, I want to send the value of the JSON request body in a boolean type. Is there any method? Could it be that currently it can only be sent as a string type?
For example, I'm testing it with the following settings.
Parameter: flag: true or false value (format: string true/false)
Request type: JSON
request body: {“flag”: {{flag}}}
ベースマキナサポート担当
marked this post as
complete
ベースマキナサポート担当
The following two points have been confirmed, so I will close them.
* There was no problem with the action settings themselves
* As intended, boolean values were sent
On the other hand, we have confirmed the problem that it is difficult to debug Base Machina's HTTP API actions, so we will continue to examine whether there are any solutions to that within the company.
ベースマキナサポート担当
We would like to confirm the details of the specific action settings, and we will separately listen to the details of this question individually. Thank you for your kind attention.
福
福間 雄基
Thank you for your quick reply.
I'm glad I was able to confirm that there are no errors in how to set true and false values.
As you said, it doesn't work well with the method you set, and it seems like it's being sent as a string type instead of a true or false value.
I'm sorry if this setting is incomplete, but can you check if the problem has occurred?
ベースマキナサポート担当
I'm indebted to you. I'm in charge of Bass Machina support.
HTTP API request type: I'm sorry about sending true or false values in JSON, but it is assumed that the settings will be performed as described.
Due to the convenience of being compatible with all kinds of data sources, I'm afraid it has become somewhat complicated as a way to set true and false values for JSON.
If it doesn't work well with the format you have set, I would appreciate it if you could contact us additionally. Thank you for your kind attention.