我在 windows shell 中使用 httpie。我的命令如下所示:
http --form -v POST "http://192.168.1.1/set/time" category=Time settings={"timezone":"Universal","ntp":{"enable":"no"},"time":"11:19:53","date":"2018-10-31"}
但是,json 值是不带引号传输的:
{timezone:Universal,ntp:{enable:no},time:11:19:53,date:2018-10-31}
我怎样才能用报价传输?喜欢:
{"timezone":"Universal","ntp":{"enable":"no"},"time":"11:19:53","date":"2018-10-31"}