weizhouapache commented on PR #140: URL: https://github.com/apache/cloudstack-cloudmonkey/pull/140#issuecomment-1672588370
@Pearl1594 just for your information, cloudstack UI sends POST request if userdata is present. ``` const httpMethod = deployVmData.userdata ? 'POST' : 'GET' const args = httpMethod === 'POST' ? {} : deployVmData const data = httpMethod === 'POST' ? deployVmData : {} api('deployVirtualMachine', args, httpMethod, data).then(response => { ``` see https://github.com/apache/cloudstack/blob/main/ui/src/views/compute/DeployVM.vue#L2167-L2171 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org