public function SolrConnectorInterface::serverRestPost in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::serverRestPost()
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::serverRestPost()
- 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::serverRestPost()
Sends a REST POST request to the Solr server and returns the result.
Parameters
string $path: The path to append to the base URI.
string $command_json: The command to send encoded as JSON.
Return value
string The decoded response.
1 method overrides SolrConnectorInterface::serverRestPost()
- SolrConnectorPluginBase::serverRestPost in src/
SolrConnector/ SolrConnectorPluginBase.php - Sends a REST POST request to the Solr server and returns the result.
File
- src/
SolrConnectorInterface.php, line 209
Class
Namespace
Drupal\search_api_solrCode
public function serverRestPost($path, $command_json = '');