To create index i used code which is present in github:
https://github.com/splunk/splunk-sdk-csharp-pcl/blob/master/examples/submit/Program.cs
I am able to create an index through console application but when I use the same code in web api controller it does not work. It says connection closed unexpectedly. Any help would be highly appreciated.
Thank you