Skip to content

Commit

Permalink
Update console.asciidoc
Browse files Browse the repository at this point in the history
Per a slack discussion https://elastic.slack.com/archives/C0D1XEXEZ/p1628706191394900

There is a misleading issue with Kibana > Dev Tools, regarding posting a GET request with a body, in particular say a search.  

GET [index]/_search {....} this gets converted to a POST request.  It can be seen if you are looking at the console view in the browser tools.

This can cause different responses (different results) when using Kibana versus other tools ex. POSTMAN when diagnosing something such as a search query with aggs.

See references: 
#11593
#11125
#11948

This doc change is to add it so that is it more obvious that we do this (transform to POST when GET has body).
  • Loading branch information
predogma committed Aug 11, 2021
1 parent 4756cb3 commit 5c42908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/dev-tools/console/console.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ click the action icon (image:dev-tools/console/images/wrench.png[]) and select *
Once copied, the username and password will need to be provided
for the calls to work from external environments.

Note: If you post a GET request with a body, will be automaically be converted to *Console* syntax as a POST request.

[float]
[[console-autocomplete]]
==== Autocomplete
Expand Down

0 comments on commit 5c42908

Please sign in to comment.