在IPV6中如何使用IPV6地址和端口号构建CURL POST http请求.任何类型的线程将不胜感激.
试图建立如下的请求
>curl --interface 'http://[2001:0:db8:1111:0:0:0:11]:8091/?'
Run Code Online (Sandbox Code Playgroud)
但上面给出了错误,因为"卷曲:没有指定URL"
>curl -X POST -d curl -X POST `http://[2001:0:db8:1111:0:0:0:11]:8091/?`
Run Code Online (Sandbox Code Playgroud)
然后尝试了以上给出错误的
>bash: http://[2001:0:db8:1111:0:0:0:11]:8091/?: No such file or directory
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
Run Code Online (Sandbox Code Playgroud)
除了使用URL之外,还有其他方法吗?