我正在尝试发布请求以使用 RESTClient 插件测试我的网站。在正文中,我传递了以下文本:
["abcd":"12", "ab":"23"]
但在后端(django 服务器)中,我在解析时遇到错误:
MultiValueDictKeyError: 'Key \'input0\' not found in <QueryDict: {u\'{["abcd":"12", "ab":"23"]}\': [u\'\']}>'
我也尝试使用 Content-type 作为 application/json 发送请求。