我正在尝试编写一个包装类,该类将在 java 中发出请求并处理以下 curl 命令的响应。
curl 命令是:
curl -XPOST 'http://sda.tech/earl/api/processQuery' -H 'Content-Type:application/json' -d"{\"nlquery\":\"Who is the president of Russia?\"}"
DIEA
相关分类