Ansible-with-OnCommand-API-Services icon indicating copy to clipboard operation
Ansible-with-OnCommand-API-Services copied to clipboard

SnapshotPolicyModule post() and put() submits parameters as JSON payload when the API requires them to be query strings

Open pypb opened this issue 7 years ago • 0 comments

The API-S specification requires parameters count, prefix, job_schedule_key and snap_mirror_label to be submitted as query strings for POST & PUT (see swagger doc) - not within the payload as the SnapshotPolicyModule currently does. This causes the API to fail with HTTP 500.

This may be the case for other modules as well, I haven't checked yet.

pypb avatar Mar 20 '18 07:03 pypb