擅长:python、mysql、java
<p>如果可以安装<a href="http://docs.python-requests.org/en/latest/" rel="nofollow">requests</a>库,则可以使用:</p>
<pre><code>response = requests.get('http://10.xx.xx.xx:1234/virtual-networks')
response.json
</code></pre>
<p>您可以使用以下内容设置请求头:</p>
^{pr2}$
<p>但是,您应该只为POST、PUT、PATCH请求定义<code>Content-type</code>,并将<code>Accept</code>用于GET。在</p>