-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, the HTTP Protocol transpiler will allow any word to be the "method", that is:
get https://github.com/
notamethod https://github.com/ are both considered "valid" input for the transpiler, and would produce code like:
Invoke-RestMethod https://github.com/ -Method get
Invoke-RestMethod https://github.com/ -Method notamethodSince HTTPs methods are well known, the HTTP transpiler should only transpile "get", but not "notamethod"
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request