标签: curl http-post http-get
我正在使用curl在我的文件command.xml中以xml格式发布RPC。我已成功在终端或文件上收到响应。问题是我也希望看到带有响应的请求。有没有办法让curl回应我的请求的xml和then响应?
command.xml
curl -X POST -k -g -6 -u "XXX@abc.com:Shanewarne" -H 'Content-Type: application/xml' -d @command.xml https://[IPV6]:7443/Path