endpointEndpoint to be used for possible overrides
postWill perform a POST if true, will perform a GET otherwise
textText to be sent to message endpoint
queryParamsParameters to be sent to the endpoint
onCompleteThe callback delegate on request completion