Generating request ID

Hi,

Using Tyk1.9

Is there a way to generate a random number for every request from TYK and add it as a request header ?
We are currently using values in $tyk.meta and adding them as request headers, but I couldn’t figure out a way to generate a random number of any sort.

Is there a way to do it without a plugin ?

Thanks.

You could use a JS pre-processor middleware with Tyk 1.9, there is no native way to add a correlation ID though

Ah, ok.

Was trying to see if there’s a way to do it through transform headers or transform request and not use a JS plugin