As of now I am not using any authentication for kibana,just wanted to hit the Kibana and get an success reponse. I am planning to use the authentication once kibana is able to handle the ajax calls.
Also using curl POST command I am able to achieve the success call.
Since http://localhost:5601 does not support POST requests, you are getting a 404 back.
I have seen some discussions > Authenticating to iframe-embedded Kibana dashboard - #7 by weltenwort on the POST commands. Can you please elaborate why Kibana does not work on POST calls and is there some other calls which can be passed to Kibana like 'GET/PUT'