Send webhooks with application/json content type

Also raise errors.