Hello @bcworks, thank you for the quick response.
The dispatchData function is being executed and I have passed all the data statically, but what happens is that the request does not exit the endpoint, I am using fiddler to map the external requests, if I put a try catch, it never goes into catch, but the request is not made, I tried the example using WP_Http :: post and even then the request is not made: /
My code with your sugestion:
$url = 'https://mysistema.com.br/tracking/web-push';
$args=array(
'webPushId' => 'webpushteste2',
'source' => 'BLOG'
);
$defaults = array('method' => 'POST');
$r = wp_parse_args( $args, $defaults );
return $this->request($url, $r);