如何在Python中将纯文本作为响应主体添加到HttpResponse?

时间:2018-08-09 17:44:15

标签: python httpresponse slack

我正在尝试开发一个Slack App,目前我正在使它工作,以便将有效负载发送到我的Web服务器,处理了一些数据,现在我想返回所需的HTTP 200响应,但带有响应包含消息。 Here is the example they use.

此刻我只有return HttpResponse(status=200)

我该怎么做?

0 个答案:

没有答案