Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke-RubrikRestCall takes Body object for Get Method #652

Closed
jaapbrasser opened this issue Jun 30, 2020 · 0 comments · Fixed by #687
Closed

Invoke-RubrikRestCall takes Body object for Get Method #652

jaapbrasser opened this issue Jun 30, 2020 · 0 comments · Fixed by #687
Assignees
Labels

Comments

@jaapbrasser
Copy link
Contributor

Current Behavior:

Currently the Invoke-RubrikRestCall cmdlet will take a body object for Get methods, while this body is never used.

Expected Behavior:

I expect the cmdlet to either display a warning message or to fail

Steps to Reproduce:

invoke-rubrikrestcall -api 1 -Endpoint cluster/me -method get -body [pscustomobject]@{blah='blah'} -verbose

Failure Logs

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant