Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  UUID for request header

    Posted 06-05-2025 18:42

    yuezhong | 2021-02-04 00:40:20 UTC | #1

    Hi can someone point me a direct on the below.

    i need make a restful api request, there is a header requestID must be set to UUID format. it is similar to the correlationId in the request.

    does someone know how to generate a UUID and attached to the request's header.

    thank you. yuezhong


    tim.smith | 2021-02-04 15:10:14 UTC | #2

    I'm not aware of any way to generate a UUID (or any arbitrary value) in a data action. If your service allows it, you could use a static value. If not, you'll need to create a middleware proxy that the data action will make requests to, then it can generate a UUID and set it on a header when it passes the request through to your service.

    You can request new features and share your use case at https://genesyscloud.ideas.aha.io/.


    system | 2021-03-07 15:10:16 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 9897