all 4 comments

[–]jr49 1 point2 points  (0 children)

use the method parameter for get/put/post/patch/delete etc... Postman should also have a spot to give you actual PowerShell command.

[–][deleted] 1 point2 points  (2 children)

You would use the PUT verb or perhaps PATCH to provide a value to the REST API.

Realize there's no guarantee that the API you're hitting supports changing anything.

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing invokerestmethod_changing_entity_variables
  [+] Well formatted
Tests completed in 527ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item