Actions
action #58319
closed[openqa-client] make --form visible in the help output
Description
openqa-client has a hidden parameter, the --form parameter, which is necessary for some calls. it should be in the help output with a proper description
i try to make a API call to job_templates_scheduling/num:id using post with openqa-client and because of the big size of the yaml file passed to the template, it returns 414 - Request-URI Too Long.
For example the following command
openqa-client --host http://somehost.suse.cz --apikey xxx --apisecret yyy job_templates_scheduling/1 post --form schema=JobTemplates-01.yaml preview=0 template="$(cat JobGroups/SLE_15_YaST.yaml)"
without the --form is failing with Error 414 - Request-URI Too Long
because JobGroups/SLE_15_YaST.yaml is too big. Although with a small yaml file the call works even without the parameter, but it doesnt seem to be the right approach.
Actions