I m trying to build an react based UI, to fetch conversations, domain, stories, nlu training data using HTTP API. I have successfully completed to fetch the bearerAuth and fetch the messages deployed on GCP. i have successfully update the NLU data using POST and PUT method and also was able to fetch the chatTokens etc.
My issue is i m trying to update the stories, domain and actions data using POST or PUT using HTTP API but all i get is an empty array and nothing is updated. When i try doing this using PUT, the entire stories is removed and an empty array is uploaded.
Below are the screenshot from POSTMAN
Get the stories in JSON format, working perfect:
Get the strories in MD format, working perfect:
But when i try to POST a new story, it returns an empty array and nothing is updated:
Similar responses i get while updating domain and actions. With actions i don’t mean code of actions.py.