How to pass data to be trained from my web app through REST api

How to the pass the data that needs to be trained by RASA NLU (latest version) through my web app using REST API? please provide a sample code.

Thanks in advance,

@kiriti Hi, please take a look at HTTP API for exact API call and a sample request header. You can use a service like Postman to convert the request header to sample code.