Request example WebHooks

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • emillod
    replied
    I wrote this script to save all webhooks to log file. Just remember about creating folder /logs
    https://dubas.pro/c/?84447d81fa6face...44uUbyKyCPddKf

    Leave a comment:


  • telecastg
    replied
    Here's a link with an actual code example: https://stackoverflow.com/questions/...ave-them-in-db
    Last edited by telecastg; 08-13-2021, 06:05 PM.

    Leave a comment:


  • enricorossa
    replied

    Thank you for the answer, I understood the concept but I can't understand how the target app receives the data, how to read it in the target app.

    1) I have configured the api user
    2) I created the webhooks that points to the address http://www.prova.it/web.php (example domain)
    which contains
    PHP Code:
    <?php

    $myfile 
    fopen("newfile.txt""w") or die("Unable to open file!");
    $txt '<pre>' print_r(get_defined_vars(), true) . '</pre>';
    fwrite($myfile$txt);
    fclose($myfile);

    ?>

    but it does not write any files

    Leave a comment:


  • emillod
    replied
    Hello. I'll publish video about EspoCRM webhooks.
    Basically you can use webhooks to send some information to other services/applications. For example if you have booking external application, you can use webhooks in EspoCRM to send details of issued invoice to booking app.

    Leave a comment:


  • enricorossa
    started a topic Request example WebHooks

    Request example WebHooks


    Hello everyone, I wanted to ask what hooks are for. I can't understand its usefulness in espocrm, could you give me a simple example? thank you
Working...