def handle_post()

in docdb_rest/app.py [0:0]


def handle_post(event):
    collection = collection_from_event(event)
    body = json.loads(event["body"])
    print(body)
    collection.insert_one(body)
    return stringify(body)