Hack-The-Tunnels-8 / hack-the-tunnels-soja

hack-the-tunnels-soja created by GitHub Classroom
0 stars 0 forks source link

Push To Webhook On Order Create #27

Open hackthetunnelsbot[bot] opened 1 year ago

hackthetunnelsbot[bot] commented 1 year ago

Description:

When an order is created, we should send a message to a webhook endpoint of your choosing.

Add a new webhooks folder within the service/src/infrastructure folder that contains any code you write relating to pushing information to webhooks.

Read the following guide to learn how to get the webhook endpoint of a Discord channel.

POST-ing to this Discord channel webhook endpoint will create a message in the desired channel.

To complete this challenge, provide proof that you have succesfully sent an "order created" related message to your desired webhook endpoint.

Acceptance Criteria:

When an order is created, a webhook is succesfully notified of the event. The participant should include some information on what their choosen webhook was.