Giter Site home page Giter Site logo

abhee235 / learnwebhooktest-azure Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3 KB

Webhooks offer a lightweight mechanism for apps to be notified by another service when something of interest happens via an HTTP endpoint. You can use a webhook to trigger an Azure function, and then analyze the message, to determine what happened and how to respond.

JavaScript 100.00%
azure-functions github-webhooks

learnwebhooktest-azure's Introduction

LearnWebhookTest-Azure

Webhooks offer a lightweight mechanism for apps to be notified by another service when something of interest happens via an HTTP endpoint. You can use a webhook to trigger an Azure function, and then analyze the message, to determine what happened and how to respond.

Create webhooks in github by going into setting page of repository. Enter the detatils : PayloadURL : it should be your azure function in Azure function app. (HTTPTrigger template). ApplicationType : application/json secret : get function keys from azure function and update in this field. select event: all type of event you want to subscribe.(in my case only wiki). save it.

Update your azure function(my application - WebhooksConsume) index.js file and updte WebhookConsume.js code into your application code and save it. Update your wiki repo home page. go to repo setting > Webhook > select webhook > recent delivery> you can see request and paylod and response that was returned from azure function.

learnwebhooktest-azure's People

Contributors

abhee235 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.