ParametersInPost

March 23, 2023 ยท View on GitHub

Category

ARM Error

Applies to

ARM OpenAPI(swagger) specs

Related ARM Guideline Code

  • RPC-Post-V1-05

Output Message

{param.name} is a query parameter. Post operation must not contain any query parameter other than api-version.

Description

For a POST action parameters MUST be in the payload and not in the URI.

How to fix the violation

Ensure that, for a POST no other query parameters except api-version are present.

Contents

  1. 1Category
  2. 2Applies to
  3. 3Related ARM Guideline Code
  4. 4Output Message
  5. 5Description
  6. 6How to fix the violation