我需要通过发送请求下载一个生成iPXE构建映像的站点。在
我想在第三个网站(rom-o)上发一个帖子-matic.eu公司),并从站点获取文件。这可能吗?在
我的例子是:
def requestPOST(request):
values = {'wizardtype': 'standard',
'outputformatstd': 'bin/ipxe.usb',
'embed': '#!ipxe dhcp route}',
'gitrevision': 'master'}
r = requests.post("https://rom-o-matic.eu/", verify=False, data={values})
return()
这个应该返回什么?在
谢谢。在
基于 How to download image using requests
相关问题 更多 >
编程相关推荐