execute Method
fun executeMethod(apiUrl: HttpUrl?, formBody: FormBody, trueOnError: Boolean = false): Boolean
Content copied to clipboard
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.)
Sources
jvm source
Link copied to clipboard