# How to use custom  header in Connect-REST

**URL:** <https://forums.pega.com/t/how-to-use-custom-header-in-connect-rest/7490>\
**Category:** General\
**Tags:** insurance, 8-7-5, senior-system-architect, data-integration\
**Created:** [June 20, 2024, 10:37am UTC](https://forums.pega.com/t/how-to-use-custom-header-in-connect-rest/7490 "2024-06-20T10:37:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SORENTARA](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@SORENTARA](https://forums.pega.com/u/SORENTARA)\
**Post date:** [June 20, 2024, 10:37am UTC](https://forums.pega.com/t/how-to-use-custom-header-in-connect-rest/7490/1 "2024-06-20T10:37:57Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![thulg](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@thulg](https://forums.pega.com/u/thulg)\
**Post date:** [June 20, 2024, 8:16pm UTC](https://forums.pega.com/t/how-to-use-custom-header-in-connect-rest/7490/2 "2024-06-20T20:16:10Z")

</div>

@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)](https://support.pega.com/question/how-do-i-setup-properties-if-json-response-contains-key)
