elasticsearch\Connection post()

post() public method

Performs POST HTTP request

public mixed post ( $url, $options = [], $body = null, $raw = false )
$url string|array

URL

$options array

URL options

$body string

Request body

$raw boolean

If response body contains JSON and should be decoded

return mixed

Response

throws yii\elasticsearch\Exception
throws yii\base\InvalidConfigException
doc_Yii
2016-10-30 17:01:50
Comments
Leave a Comment

Please login to continue.