Skip to Content
avatar image
Former Member

Content MD5 and SHA256 Parameters in Rest URL

Hi,

I am facing the following challenge while configuring Receiver REST Adapter. The API I am trying to call requires a content MD5-checksum and SHA256 Signature key in the query parameter.

Please find a sample query:

I need to generate the ContentMD5Value and SHA256 Signature dynamically and pass the same in the Request query as parameters. I am stuck here. Any inputs/ help will be great.

Thanks & Regards,

Sukumar

capture.png (18.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 08, 2017 at 10:24 AM

    Did you try these? you can generate ContentMD5Value and SHA256 Signature in udf and store it in dynamic config key. later use it in the channel by refering the key name

    https://blogs.sap.com/2015/04/14/pi-rest-adapter-define-custom-http-header-elements/

    https://answers.sap.com/questions/84202/how-configure-dynamic-http-header-in-rest-receiver.html

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 14, 2017 at 07:11 AM

    Hello Gurus,

    Need your help to resolve 400 Bad request error in Rest Receiver Channel configuration.

    This is the rest request i need to send.

    For this, I am using the below url in postman and Rest Reciever channel in PI.

    The above url is working fine in postman and failing in REST receiver channel in SAP PI.

    Thanks and Regards,

    Sukumar

    Add comment
    10|10000 characters needed characters exceeded