<commit_before>#!/usr/bin/env php
<?php

require "vendor/autoload.php";

$api = "http://httpbin.org";

$endpoints = array(
	"get",
	"post",
	"user-agent",
	"headers",
	"ip",
);

$dingle = new \Gooseberry\Gooseberry($api, $endpoints);

$response = $dingle->post("post", array("test_key" => "test_value"));

print_r($response);
<commit_msg>adds a little description to the example<commit_after>#!/usr/bin/env php
<?php

require "vendor/autoload.php";

$api = "http://httpbin.org";

$endpoints = array(
	"get",
	"post",
	"user-agent",
	"headers",
	"ip",
);

$dingle = new \Gooseberry\Gooseberry($api, $endpoints);

//$var = $Obj->HTTPMethod($endoint, $queryData);
$response = $dingle->post("post", array("test_key" => "test_value"));

print_r($response);

{'fraction_non_alphanumeric': 0.2247340425531915, 'fraction_numerical': 0.0, 'mean_word_length': 5.38135593220339, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 0, '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': '7350361', 'n_tokens_mistral': 304, 'n_tokens_neox': 299, 'n_words': 55}