<commit_before>/**
 * Node.js API client for Apostle.io
 *
 * @package apostle
 * @author <NAME> <<EMAIL>>
 */

/**
 * Dependencies
 */
var hyperquest = require('hyperquest');

/**
 * Sends the provided POST body to the apostle API using hyperquest.
 *
 * @param {string} API key
 * @param {object} Apostle message body
 *
 * @return {error}
 */
function send (key, container, callback) {
    var body = JSON.stringify(container);
    var req = hyperquest('https://deliver.apostle.io', {
        method: 'POST',<commit_msg>Use HTTP until SSL cert is fixed by provider<commit_after>/**
 * Node.js API client for Apostle.io
 *
 * @package apostle
 * @author <NAME> <<EMAIL>>
 */

/**
 * Dependencies
 */
var hyperquest = require('hyperquest');

/**
 * Sends the provided POST body to the apostle API using hyperquest.
 *
 * @param {string} API key
 * @param {object} Apostle message body
 *
 * @return {error}
 */
function send (key, container, callback) {
    var body = JSON.stringify(container);
    var req = hyperquest('http://deliver.apostle.io', {
        method: 'POST',
{'fraction_non_alphanumeric': 0.14869888475836432, 'fraction_numerical': 0.0, 'mean_word_length': 3.4688796680497926, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2674990', 'n_tokens_mistral': 343, 'n_tokens_neox': 334, 'n_words': 107}