Recent

Author Topic: Anyone built a Lazarus app for "finnhub.io" ?  (Read 201 times)

RedOctober

  • Sr. Member
  • ****
  • Posts: 331
Anyone built a Lazarus app for "finnhub.io" ?
« on: September 23, 2020, 09:52:51 pm »
finnhub.io is a RESTful API. On their signup page, the provide an API Key, and a Secret, but they are asking for a URL for a "WebHook".   I don't know what to fill in there.

What do I need to build in Lazarus to provide a "WebHook" ?


Assuming I wanted to set up a test bed in Postman... what wd the "WebHook" URL be?





« Last Edit: September 23, 2020, 10:01:20 pm by RedOctober »

PascalDragon

  • Hero Member
  • *****
  • Posts: 2256
  • Compiler Developer
Re: Anyone built a Lazarus app for "finnhub.io" ?
« Reply #1 on: September 23, 2020, 09:58:29 pm »
A WebHook is simply an URL that can receive a HTTP request and provide a response (you'll have to use a publicly accessible URL). You'll have to check their API to know what they'll send with the request and what they expect as response.

 

TinyPortal © 2005-2018