标签: python-2.7 curl thrift pycurl
我有如下的Yab命令-
yab -s keyvalue-server -m keyvalue-consumer -t examples/guide/keyvalue/service.thrift --caller yab-user --request '{"req":"body"}' --header 'xyz' --header 'abc' --timeout=30000 -p 127.0.0.1:8000
如何将此yab命令转换为curl命令/ python请求?