Solar_Service_Akismet::_fetchResponse()

protected Solar_Http_Response Solar_Service_Akismet::_fetchResponse ( string $call , array $data )

Calls the Akismet REST API via an HTTP POST request, and returns the HTTP response.

Parameters

  • (string) $call: The Akismet REST call to make: 'verify-key', 'comment-check', 'submit-ham', or 'submit-spam'.

  • (array) $data: Data to send via POST.

Returns

  • (Solar_Http_Response)

Description

Calls the Akismet REST API via an HTTP POST request, and returns the HTTP response.



Local