https://github.com/elastic/elasticsearch-js/issues/357 - fixing separated spelling error
This commit is contained in:
@ -9,7 +9,7 @@ By default, all api methods accept the following parameters. They are omitted fr
|
||||
`String` -- The HTTP method to use for this request. All of the API methods have their own default.
|
||||
|
||||
`body`::
|
||||
`String, Anything` -- The body to send along with this request. If the body is a string it will be passed along as is, otherwise it is passed to the serializer and converted to either JSON or a newline seperated list of JSON objects based on the API method.
|
||||
`String, Anything` -- The body to send along with this request. If the body is a string it will be passed along as is, otherwise it is passed to the serializer and converted to either JSON or a newline separated list of JSON objects based on the API method.
|
||||
+
|
||||
NOTE: the https://github.com/fullscale/elastic.js[elastic.js] or https://github.com/danpaz/bodybuilder[bodybuilder] libraries can be used to make building request bodies simpler.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user