Continuing the discussion from ElasticSearch Query with Powershell Invoke-RestMethod:
hi @forloop/ Paul,
I tried the same module ie elastic.console to invoke web request using
PS > es http://220.127.116.11:5601/_cat/indices
but receving response as html output and also last line in output seems to be this "This Elastic installation has strict security requirements enabled that your current browser does not meet. // Since this is an unsafe inline script, this code will not run // in browsers that support content security policy(CSP)"
Any help would be much appreciated!!