Thanks for reply.. i tried but no response.. I have entered your script after body and then set the body as 

r.setRequestBody('encryptedPayload');

 

Please could you confirm if I'm sending the encrypted payload in correct way?