I have a JSON array that I'm cleaning up in Python. I want to remove the imageData property:
data.json
[{"title": "foo", "imageData": "xyz123"},
{"title": "bar", "imageData": "abc123"},
{"title": "baz", "imageData": "def456"}]
I am setting u
我有一个网页.py服务器。在
我这样处理post请求:class Endpoint(object):
def POST(self):
received_payload = web.data()
# Do things with the payload (a JSON) --- I receive the payload correctly
response = {"Response": "Good"}
# I also tried returning the dictionary