public function AcquiaLiftDrupalHttpClientInterface::post in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 includes/AcquiaLiftDrupalHttpClientInterface.inc \AcquiaLiftDrupalHttpClientInterface::post()
Create a POST request for the client
Parameters
string|array $uri Resource URI:
array|Collection $headers HTTP headers:
array|Collection|string|EntityBodyInterface $postBody POST body. Can be a string, EntityBody, or: associative array of POST fields to send in the body of the request. Prefix a value in the array with the @ symbol to reference a file.
array $options Options to apply to the request:
2 methods override AcquiaLiftDrupalHttpClientInterface::post()
- AcquiaLiftDrupalHttpClient::post in includes/
acquia_lift.classes.inc - Implements AcquiaLiftDrupalHttpClientInterface::post().
- DummyAcquiaLiftHttpClient::post in tests/
acquia_lift.test_classes.inc - Implements AcquiaLiftDrupalHttpClientInterface::post().
File
- includes/
acquia_lift.classes.inc, line 1768 - Provides an agent type for Acquia Lift
Class
- AcquiaLiftDrupalHttpClientInterface
- A simple interface for http clients.
Code
public function post($uri = null, $headers = null, $body = null, array $options = array());