-
Notifications
You must be signed in to change notification settings - Fork 0
SanjeetKr7/webhook
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Small application to learn Webhook Build image of <abcschool> and <studentdata> service in local system and run docker compose docker build -t <image_name> <directory of abcschool> docker build -t <image_name> <directory of studentdata> docker compose up Add school Detail URL: http://localhost:9090/addWebhookEvent Ex: { "schoolName": "abc School", "schoolId": 1, "web":{ "eventname": "addStudent", "endpoint": "http://abcschool:9091/webhook/studentAdded" } } Expected Output: [{"schoolName":"abc School","schoolId":1,"web":{"eventname":"addStudent","endpoint":"http://abcschool:9091/webhook/studentAdded"}}] Add student Detail URL: http://localhost:9090/addWebhookEvent Ex: { "name": "sanjeet Kumar", "age": 23, "schoolId": 1 } Expected Output: The response is webhook data received { "name": "sanjeet Kumar", "age": 23, "schoolId": 1 } ! ! response code is 200 [{"name":"sanjeet Kumar","age":23,"schoolId":1}]
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published