public function LingotekHttpInterface::post in Lingotek Translation 3.1.x
Same name and namespace in other branches
- 8 src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 8.2 src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 4.0.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.0.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.2.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.3.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.4.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.5.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.6.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.7.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
- 3.8.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
Send a POST request.
Parameters
string|\Psr\Http\Message\UriInterface $path: URI object or string.
array $args: Request arguments to the POST request.
bool $use_multipart: If TRUE, use multipart post arguments. If FALSE, uses form parameters.
Return value
\Psr\Http\Message\ResponseInterface A response.
1 method overrides LingotekHttpInterface::post()
- LingotekHttp::post in src/
Remote/ LingotekHttp.php - Send a POST request.
File
- src/
Remote/ LingotekHttpInterface.php, line 38
Class
- LingotekHttpInterface
- Lingotek HTTP interface.
Namespace
Drupal\lingotek\RemoteCode
public function post($path, $args = [], $use_multipart = FALSE);