Getting empty request to integration url on button press

Hi, I am trying to create some interactive message with buttons. I have configured buttons with integration url to my django application. On button press i am able to call the django url and function, but i am getting empty request there.

Its written on docs that on button press request is sent to url with data containing user_id, channel_id, message_id.

  "attachments": [
    {
       "color": "danger",
      "text": "This is the attachment text.",
      "actions": [
        {
          "name": "Close",
          "integration": {
            "url": "<django url>/action",
            "context": {
              "action": ""
            }
          },
          "type": "button",
          "value": "Close"
        }
      ]
    }
  ]
}

getting this on django server
print requst.POST
<QueryDict: {}>

1 Like