Closed
Solved
How to use custom header in Connect-REST
Hi,
How to setup properties in header if the response contains "-"(hyphen e.g: X-Client-Id) ?
since Pega doesn't allow "-" hyphens in the property name as a response or request.
Thanks,
@SORENTARA While Pega doesn't allow hyphens in property names, it can handle JSON keys with hyphens using qualifiers. The wizard may set a "qualifier" on the Property records which contain the original name. When the connector is called, it uses the qualifier to map from the "real" name to the property name. You can check if a property has a qualifier set on it by opening the property.
How do I setup properties if the JSON response contains "-" in the key? | Support Center (pega.com)