You are here

public function ResourceInterface::doPost in RESTful 7.2

Shorthand method to perform a quick POST request.

Parameters

array $parsed_body: The parsed body.

Return value

array The array ready for the formatter.

2 methods override ResourceInterface::doPost()
Resource::doPost in src/Plugin/resource/Resource.php
Shorthand method to perform a quick POST request.
ResourceDecoratorBase::doPost in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Shorthand method to perform a quick POST request.

File

src/Plugin/resource/ResourceInterface.php, line 408
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function doPost(array $parsed_body);