Chatbot API Testing
It’s recommended to test a chatbot through its application API. This will usually be more reliable and faster than testing via the UI. It may be useful to use the browser devtools to locate API to test. You can use the browser devtools to create a CURL command to duplicate the API request, which is then straightforward to translate into a Mindgard CLI command.
To translate to a Mindgard command replace -H with —header, replace —data-raw with —request-template and replace curl with mindgard test your-target-name —url
You will also need to replace your user inputs with a placeholder of
The equivalent Mindgard CLI for the above curl command would therefore be

