ThreatStack;
use 5.10.0;
use strict;
use warnings;
use feature 'switch';
use feature 'say';
use JSON;
use REST::Client;
use Moose;
use Moose::Util::TypeConstraints;
use MooseX::Params::Validate;
POST') {
my $json_args = JSON->new->allow_nonref->utf8->encode($params{args}{data});
say "[_call]: Making call POST $url" if $self->debug;
$client->POST($url, $json_args, $headers)