Skip to main content

required-request-post-data-parameter-name

Overview

This rule belongs to the har-validation ruleset and states that:

When a request postData is defined with params, a non-empty non-null name must be specified for each parameter using the name property.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequest post data parameter name is empty or missing.
CodeHAR_V302
TypeValidation
Rule SystemSemantic
Broad CategoryRequest Parameters
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagshar api semantic validation name params post data request

Suggested Fixes

  • Ensure that all parameters defined in the request postData params list have a name property.
  • Ensure that the name property exists in the params object.
  • Ensure that the value of name property is not empty or set as null.

For More Information