[HTTP API ] POST /train

Hi !!!

I’m using RASA_NLU server, to train model i’m using the Command bellow


$ curl -XPOST -H "Content-Type: application/json" localhost:5000/train?project=MY_PRO&model=MODEL_XX -d @path/to/train/file.json

and I have three question :

    1. the parameter (project = …) TAKE just the name of project (i.e. name of the folder) OR TAKE path to the project flader (i.e. project=path/to/dir) ???
    1. what in case of I want specified the path, where the projects will be created with models ??
    1. last questions should always POST with -h ‘application/x-yml’ like said in rasa docs , can I send instead -h ‘application/json’ ??

:grinning: :grinning: :grinning:

Project will be any name you give to your project and will be saved under the model folder.