private function executePostRequest($str_action, $obj_request_body = null)
    {
        $arr_options = [];
        if(null !== $obj_request_body) {
            $arr_options['json'] = $obj_request_body;
        }
        $obj_response = $this->httpClient()->post($this->actionUrl($str_action), $arr_options);
        $this->obj_last_response = json_decode((string)$obj_response->getBody());
    }
private function executePostRequest($str_action, $obj_request_body = null)
    {
        $arr_options = [];
        if(null !== $obj_request_body) {
            $arr_options['json'] = $obj_request_body;
        }
        $obj_response = $this->httpClient()->post($this->actionUrl($str_action), $arr_options);
        $this->obj_last_response = json_decode((string)$obj_response->getBody());
    }
private function executePostRequest ( $ str_action , $ obj_request_body = null ) { $ arr_options = [ ] ; if ( null !== $ obj_request_body ) { $ arr_options [ 'json' ] = $ obj_request_body ; } $ obj_response = $ this -> httpClient ( ) -> post ( $ this -> actionUrl ( $ str_action ) , $ arr_options ) ; $ this -> obj_last_response = json_decode ( ( string ) $ obj_response -> getBody ( ) ) ; }
Execute a POST request against the API

@param $str_action
@param null $obj_request_body
Execute a POST request against the API