Use POST body for large data objects

This commit is contained in:
2020-01-06 23:28:06 -05:00
parent f326fd99e2
commit 2aaccfffa7
2 changed files with 40 additions and 6 deletions

View File

@ -113,11 +113,13 @@ def vm_define(config, xml, node, node_limit, node_selector, node_autostart):
response = requests.post(
request_uri,
params={
'xml': xml,
'node': node,
'limit': node_limit,
'selector': node_selector,
'autostart': node_autostart
},
data={
'xml': xml
}
)