action #53891
Updated by okurz almost 6 years ago
Take the following: <pre> rich@rpws ~> openqa-client --host openqa.opensuse.org --apikey CB3705D3354546E0 --apisecret XXX ACF45D0C14580918 jobs/975114/comments POST text=test123 [ { bugrefs => [], created => "2019-07-05 08:15:47 +0000", id => 43271, renderedMarkdown => "<p>update comment test</p>\n", text => "update comment test", updated => "2019-07-05 08:45:11 +0000", userName => "rpalethorpe", }, ] rich@rpws ~> openqa-client --host https://openqa.opensuse.org --apikey CB3705D3354546E0 --apisecret XXX ACF45D0C14580918 jobs/975114/comments POST text=test123 { id => 43287 } </pre> okurz thinks this may be due to https://github.com/os-autoinst/openQA/pull/2110. Note that this only happens on O3 and not OSD. I also tried using two different versions of the openqa-client. Also the following works: <pre> openqa-client --host openqa.opensuse.org --apikey CB3705D3354546E0 --apisecret XXX ACF45D0C14580918 jobs/975114/comments/43271 PUT text="update comment test" { id => 43271 } </pre> So the problem maybe only effects POST requests.