Parameterize travis builds using API v3 with query params

Custom query params for post request for triggering the build.

parameterize Travis builds similar to Jenkins

similar to below

Jenkins has that provision

Whenever I do this,${pactbroker.consumerVersionTags}

I am getting this response

@warnings”: [
@type”: “warning”,
“message”: “query parameter pactConsumerTags not safelisted, ignored”,
“warning_type”: “ignored_parameter”,
“parameter”: “pactConsumerTags”

Can some one help on the same ?

In my case was missing the header:
“Content-Type application/json”