WebPipes are handy HTTP utility programs. They accept input and return output. If you're missing a Standard Library or some other basic and/or extended functionality, there may be a WebPipe available.
Add webpipe.class.php
to your project folder and don't forget to require()
.
require('webpipe.class.php');
// Init
$webpipe = new WebPipe();
// Make our WebPipe request
$response = $webpipe->execute("parse-markdown", array(
"markdown" => "*Hello World!*"
));
// Print the WebPipe response
if ($response) {
print "<pre>" . $response . "</pre>";
} else {
print "<pre>Error</pre>";
}