# HTTP Request json body not working with inline variables

**URL:** <https://developer.sailpoint.com/discuss/t/http-request-json-body-not-working-with-inline-variables/7068>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows\
**Created:** [December 7, 2022, 2:08pm UTC](https://developer.sailpoint.com/discuss/t/http-request-json-body-not-working-with-inline-variables/7068 "2022-12-07T14:08:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![franciscojoserodrig1](https://avatars.discourse-cdn.com/v4/letter/f/f1d935/32.png) [@franciscojoserodrig1](https://developer.sailpoint.com/discuss/u/franciscojoserodrig1)\
**Post date:** [December 7, 2022, 3:32pm UTC](https://developer.sailpoint.com/discuss/t/http-request-json-body-not-working-with-inline-variables/7068/4 "2022-12-07T15:32:47Z")

</div>

This is my request body applying your possible workaround @gourab

```auto
{
	\"u_actiontype\": \"Transfer\",
	\"u_department\": \"{{$.getIdentity.attributes.department}}\",
	\"u_linemanager\": \"{{$.getIdentity1.attributes.displayName}}\",
	\"u_jobfunction\": \"{{$.getIdentity.attributes.jobtitle}}\",
	\"u_location\": \"{{$.getIdentity.attributes.location}}\",
	\"u_enddate\": \"{{$.getIdentity.attributes.endDate}}\",
	\"u_firstname\": \"{{$.getIdentity.attributes.firstname}}\",
	\"u_lastname\": \"{{$.getIdentity.attributes.lastname}}\",
	\"u_sfid\": \"{{$.getIdentity.attributes.sfId}}\",
	\"u_transferdate\": \"{{$.getIdentity.modified}}\"
}

```

But with that, the json body is not valid:

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/6/6fe1af0e39b80a0587dbbf4b0d215237289b559c.png)

Could you @colin_mckibben please provide feedback on this topic/issue?

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/http-request-json-body-not-working-with-inline-variables/7068)._
