execute Method
fun executeMethod(apiUrl: <Error class: unknown class>, formBody: <Error class: unknown class>, trueOnError: Boolean = false): Boolean(source)
Executes a call to an Akismet REST API method.
Parameters
api Url
The Akismet API URL endpoint. (e.g. https://rest.akismet.com/1.1/verify-key)
form Body
The HTTP POST form body containing the request parameters to be submitted.
true On Error
Set to return true
on error (IO, empty response, etc.)