Post to slack (unavailable)

POST {{response_url}}

The response_url is the webhook URL provided by slack to post data back to slack. This request will be executed if the book is unavailable.

Image of unavailable

Request Body

{"response_type"=>"in_channel", "text"=>"Oops, this book is not available :(", "attachments"=>[{"text"=>"Time to get a new book? ;)"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring