def perform_webhook
      http_request.body  = {'text'  => params[:text]}.to_json.to_s
      http_request.query = {'token' => params[:token]}
      HTTPI.post(http_request)
    end
def perform_webhook
      http_request.body  = {'text'  => params[:text]}.to_json.to_s
      http_request.query = {'token' => params[:token]}
      HTTPI.post(http_request)
    end
Webhooks are handled in a non-compatible way with the other APIs