Rasa 1.1.3 http api training

How can we train a rasa model using http api and please provide a sample request body.

The request body which I tried was

{ “config”: " language: en pipeline: supervised_embeddings policies:

name: MemoizationPolicy
  • name: KerasPolicy
  • name: MappingPolicy ", “nlu”: “## intent: greet - hey - hello ## intent: goodbye - Goodbye - bye bye ## intent: thanks - thank you - tq”, “out”: “models”, “force”: false }

It is giving error - “Can not train an intent classifier. Need at least 2 different classes. Skipping training of intent classifier”.

At the start of training it is showing - “No dialogue data present. Just a Rasa NLU model will be trained”.

Please help me to resolve above problem.