将 JSON 发送到本地服务,但它没有收到它,为什么?
let config = try Config()
try config.setup()
let drop = try Droplet(config)
try drop.setup()
drop.get(handler: {req in
if req.json != nil {
print("ass")
print(req.json!)
}
return "almaG"
})