我想在linux command
脚本中实现此PYTHON
,它会返回JSON
个文件:
curl -k -u username:password -X POST https://servername/wapi/v1.2/network
/fkqjsdlmfjqslmdfsm:11.221.22.0/24/default?_function=next_availabl_ip -H
"Content-Type: application/json" -d '{"exclude": ["11.221.22.1",
"11.221.22.2", "11.221.22.3", "11.221.22.4", "11.221.22.5"], "num": 1}'
答案 0 :(得分:0)
答案 1 :(得分:0)
我终于用<?php if($row['coupondate'] == $x) { ?>
<td>P</td>
<?php } else { ?>
<td>NULL</td>
解决了它:
requests