API for train rasa model

I want to train a rasa model after changing into nlu,domain and stories files. I am using Java as backend. I have created a UI which help to insert data into nlu,domain and stories. Now i have to train this.I got the URL to train but unable to understand what should i pass as argument. Can you please provide any example to train rasa trough Java.

Hi @romil, did you check the API reference for details? It lists the arguments you need to pass to the POST request: the domain, the config, the NLU training data and the stories.

Yes,I read about the arguments.But I have the files were i update story.So can i pass the file path to get arguments dyanamically.Please share example if possible.