Send Notification to Slack

POST {{slack_webhook_url}}

Sends notification to slack if the price of the book has reduced

Request Body

{"attachments"=>[{"fallback"=>"price reduced to {{price}} for the book {{book name}} find it at {{product_url}}", "color"=>"#111", "pretext"=>"The price has reduced for the book ", "author_name"=>"Amazon", "author_icon"=>"https://www.amazon.com/favicon.ico", "text"=>"by {{author}}", "title"=>"{{title}}", "title_link"=>"{{product_url}}", "fields"=>[{"title"=>"price: ₹{{price}}", "value"=>"", "short"=>false}], "thumb_url"=>"{{thumb_url}}"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring