(request, crits_type, crits_id)
Convert the given CRITs object to standards via STIX & CybOX,
    then attempt to send as a TAXII message to the configured TAXII server.

    :param request The request object
    :param crits_type The type of the crits object that will be converted
    :param crits_id The ID of the crits object that will be converted
Convert the given CRITs object to standards via STIX & CybOX,
    then attempt to send as a TAXII message to the configured TAXII server.
Convert the given CRITs object to standards via STIX & CybOX then attempt to send as a TAXII message to the configured TAXII server .
def execute_taxii_service(request, crits_type, crits_id):
    """
    Convert the given CRITs object to standards via STIX & CybOX,
    then attempt to send as a TAXII message to the configured TAXII server.

    :param request The request object
    :param crits_type The type of the crits object that will be converted
    :param crits_id The ID of the crits object that will be converted
    """
    try:
        if request.method == "POST" and request.is_ajax():
	        return get_taxii_result(request, crits_type, crits_id, False)
        else:
	        return render(request, 'error.html', {'error': "Must be AJAX."})
    except Exception as e:
        data = {'success': False, 'reason': str(type(e)) + str(e)}
        return HttpResponse(json.dumps(data), content_type="application/json")
def execute_taxii_service ( request , crits_type , crits_id ) : try : if request . method == "POST" and request . is_ajax ( ) : return get_taxii_result ( request , crits_type , crits_id , False ) else : return render ( request , 'error.html' , { 'error' : "Must be AJAX." } ) except Exception as e : data = { 'success' : False , 'reason' : str ( type ( e ) ) + str ( e ) } return HttpResponse ( json . dumps ( data ) , content_type = "application/json" )