I want to send null in action parameters
complete
Takuya Matsuda
I'm sorry if you get questions or misunderstandings about JavaScript, but I want to send it as null when it's empty due to a numeric parameter.
Currently, it is unclear whether this is recommended, but the request type is JSON, and it is described as follows in the request body.
```json
{
“maxHogeCount”: {{maxHogeCount}},
}
```
ベースマキナサポート担当
marked this post as
complete
ベースマキナサポート担当
I will supplement the previous answer.
By setting “Input value type: JSON” and “JSON value type: numeric value” in the action parameter settings, the “Set value as null” toggle will be displayed on the action execution screen.
Takuya Matsuda
ベースマキナサポート担当 Yes! Thank you very much. In the first place, when using the request body JSON, I think it is recommended that the parameters also be JSON values. Close and it's fine!
ベースマキナサポート担当
Takuya Matsuda: Thanks for checking!
As you said, we recommend using JSON values where special characters such as double quotes are automatically escaped, especially when using strings as parameter values.
Please feel free to contact us if you have any further questions or concerns.
ベースマキナサポート担当
Thank you for your question. My name is Fukuda from the Bass Machina development team.
As shown in the settings, it is necessary to use JSON values when making null input possible.