【发布时间】:2019-05-08 03:02:09
【问题描述】:
我有一个像这样的 Curl 发布请求程序。我怎样才能在 java 中完成这项工作?
curl -X POST \
-H "api_key: xxxxxxxxxxxxx" \
-H "speed: 0" \
-H "voice: male" \
-H "prosody: 1" \
-H "Cache-Control: no-cache" \
-d 'This is the text to transfer' \
"http://somewhere.com"
【问题讨论】:
-
到目前为止你有什么尝试?
-
为什么标记为 PHP?