Anypoint Best Practices
non-scalar-url-parameters
general > non-scalar-url-parameters
Guidance
Encoding complex objects into URL parameters is not a standardized way of passing information that cannot be
automatically processed. Complex information should be passed in the body of the HTTP request.
Message
Do not encode '{{core.name}}' into URL parameters. Use the body of the HTTP request instead.
Examples
valid
/endpoint:
get:
displayName: get
queryParameters:
someParam:
type: string[]
invalid
/endpoint:
get:
displayName: get
queryParameters:
someParam:
type: object
Applies to Parameter