Hi,
I saw what you guys were doing after reading about it on FreshBooks. I
was really confused as to what you were doing and what all the fuss
was about but after watching 15 mins of the presentation I managed to
(while still watching) sham together a really quick test using the
MailHooks application and a simple PHP file.
For those who are really impatient I see it as this. You set up a
callback that hits a URL with POST information. What that post
information is depends on the service that's doing the callback.
I set up a quick MailHooks example which pointed to this PHP script
(make sure you have a log.txt file in the same directory):
<?
$fh = fopen("log.txt", 'w') or die("can't open file");
$s = "";
foreach($_REQUEST as $k=>$v)
{
$s .= "$k\n-----\n$v\n-----\n\n";
}
fwrite($fh, $s);
fclose($fh);
?>
Just a super simple way to make sure it all works. I'm really excited
to start using this in FreshBooks (or whoever starts to implement it).
--
You received this message because you are subscribed to the Google Groups "WebHooks" group.
To post to this group, send email to
webh...@googlegroups.com.
To unsubscribe from this group, send email to
webhooks+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/webhooks?hl=en.