public function Nodejs::sendContentToken in Node.js integration 8
File
- src/
Nodejs.php, line 130
Class
Namespace
Drupal\nodejsCode
public function sendContentToken($message) {
$options = [
'method' => 'POST',
'body' => Json::encode($message),
];
return $this
->httpRequest('nodejs/content/token', $options);
}