vostpt / bot

Source code of VOSTPTia - @vostpt's official bot
https://vostpt.github.io/bot/
MIT License
12 stars 4 forks source link

[BOT-132] Trigger messages through REST API calls #133

Closed tiagojpdias closed 3 years ago

tiagojpdias commented 5 years ago

Description

This pull request addresses issue BOT-132.

It adds a token based authentication, so to be able to communicate with the API we need to include it in the request headers:

Authorization: Bearer <token>

Task items:

Requirements

Requirements when deploying the current work to an environment.

Notes

The running port its not yet configurable through env, only through config file.

miguelcarreiro commented 3 years ago

Closed due to inactivity.