Webhooks (alternative of API)

Put your suggestions here.
Post Reply
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Webhooks (alternative of API)

Post by Didou12 »

Hi,

It can be nice to have a system for webhooks, some websites can send data information in JSON at a custom URL (as a push notification).
So juste a form to manage data JSON and be able to add a new record with this. (and with a protection from IP)

thanks
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
dafydd
Posts: 3
Joined: 14 Dec 2021, 13:37
Name: Dafydd Thomas
Location: Knutsford
Company Name: communicorp uk

Re: Webhooks (alternative of API)

Post by dafydd »

We do this with an 'Automated Action - execute php script' and some php

Code: Select all

$surl = file_get_contents('https://webhookurl.com?field=[field id]');
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Webhooks (alternative of API)

Post by Didou12 »

You think about SENDING data to another website ?

In my suggestion, it's the other way, to receive data. Currently, I have some PHP pages for that.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Post Reply