Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/322.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Authentication 在使用cert时运行curl命令时,如何获取结束URL?_Authentication_Curl_Oauth_Ssl Certificate - Fatal编程技术网

Authentication 在使用cert时运行curl命令时,如何获取结束URL?

Authentication 在使用cert时运行curl命令时,如何获取结束URL?,authentication,curl,oauth,ssl-certificate,Authentication,Curl,Oauth,Ssl Certificate,因此,我使用的是oauth的一种形式,它当前要求您访问一个网站,并将证书添加到浏览器中,在那里您将被重定向,并且验证代码显示在最终URL中。我希望能够使用curl命令完成这个过程,并且避免同时使用我的浏览器 我已经找到了使用带有--cert cert:pass参数的证书以及允许重定向的方法,但还没能让任何东西正常工作。有什么想法吗

因此,我使用的是oauth的一种形式,它当前要求您访问一个网站,并将证书添加到浏览器中,在那里您将被重定向,并且验证代码显示在最终URL中。我希望能够使用curl命令完成这个过程,并且避免同时使用我的浏览器

我已经找到了使用带有--cert cert:pass参数的证书以及允许重定向的方法,但还没能让任何东西正常工作。有什么想法吗