Don, not exclusively synonymous, no.

A web hook is really nothing more than if you set up a web application on
your end and someone calls it. :)

So if you know how to set up a CGI/Web application on your IBM i so the
world can see it, a web hook is really nothing different.

CGI, RESTful app, web app, etc.. etc... a web server application.


Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #16 <https://www.bvstools.com/mailtool.html>: No external
"helper" PC system required. 100% IBM i native!

On Wed, Jul 17, 2019 at 4:51 PM Don Brown <DBrown@xxxxxxxxxx> wrote:

Thanks Brad,

So would you say a "web hook" is synonymous with "rest api" ?

I think once I understand what a web hook is the closer I will be to
identifying how best to process it,

Our requirement is to be notified when a new entity is added to a
database, (not on the IBMi) the web hook will notify us the ID of the new
entity and we will then retrieve more information about that entity
through existing back end processes.

Would you call your http://bvsdemo.bvstools.com/cgi-bin/json1 a web hook ?

Thanks

Don Brown



From: "B Stone" <bvstone@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 17/07/2019 10:52 PM
Subject: Re: [WEB400] Webhooks
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>



IWS should do the job since the webhook is just making an HTTP/S request.

It all depends on what you're comfortable with and what the webhook will
be
doing in the background when received. IWS, Node, Apache/CGI will all
work
fine as long as you know how to configure the server (and most likely SSL
for it) and map requests through your firewall to the IBM i.


Bradley V. Stone
www.bvstools.com
GreenTools for PayPal <https://www.bvstools.com/g4pp.html>: Easily send
PayPal invoices from your IBM i applications using RPG ILE! Process
refunds, get account balances and more!

On Wed, Jul 17, 2019 at 7:16 AM Don Brown <DBrown@xxxxxxxxxx> wrote:


I am working on a new project and the supplier said they can notify me
using a “web hook”

After some googling I see this is basically a http post request.

Ok great. Is this something I can create/setup using IWS ?

Or anyone that has used webhooks on IBMi

Appreciate any suggestions

Don Brown

Sent from my iPhone

______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email,
MSD
cannot accept responsibility for any loss or damage arising from the use
of
this email or attachments.
______________________________________________________________________
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________




______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email, MSD
cannot accept responsibility for any loss or damage arising from the use of
this email or attachments.
______________________________________________________________________
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.