You are here

public function LingotekHttpInterface::post in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8 src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  2. 8.2 src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  3. 4.0.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  4. 3.0.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  5. 3.1.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  6. 3.2.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  7. 3.3.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  8. 3.4.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  9. 3.5.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  10. 3.7.x src/Remote/LingotekHttpInterface.php \Drupal\lingotek\Remote\LingotekHttpInterface::post()
  11. 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\Remote

Code

public function post($path, $args = [], $use_multipart = FALSE);