You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When doing a Get request, with an empty body and using the "PowerShell - RestMethod" code snippet, an error will be raised as the Invoke-Request method is improperly called.
To Reproduce
Create a Get request to any ressource, say "example.com". The code generated will be:
Describe the bug
When doing a Get request, with an empty body and using the "PowerShell - RestMethod" code snippet, an error will be raised as the Invoke-Request method is improperly called.
To Reproduce
The error returned by Powershell is the following:
Expected code snippet and corresponding request
This snippet instead works:
Additional context
Version of postman-code-generators/Postman app: 7.14.0
The text was updated successfully, but these errors were encountered: