How to train using a running NLU server?

Hi,

I am trying to train a running NLU server.

I am not send the HHTP request to the NLU server to train.

I am using the below code to send the request.

import requests
headers = {'Content-Type': 'application/x-yml'}
requests.post('http://localhost:5000/train?project=nlu&model=current&config.yml', data = headers)

Ok, what’s the problem?