alan-turing-institute / reginald

Reginald repository for REG Hack Week 23
3 stars 0 forks source link

Add POST versions of the message endpoints #191

Closed ots22 closed 3 months ago

ots22 commented 3 months ago

These add versions of the direct_message and channel_mention accepting POST requests. The motivation is that the current GET endpoints look at the request body, which is unconventional, and not all http libraries support it.

The GET endpoints are unchanged so as not to break anything (like the Slackbot).