Search code examples
mulemule-studiomule-elmule-componentmule-module-jpa

get value from request header in http call -mule


I am developing a mule application. My start point is http. I need to authenticate my http calls using an authentication token which I am sending as request header. Now, How do I get this request header value in my Mule application?


Solution

  • suppose if the header name was "authToken" which contains the authentication token. it can be accessed in mule floe with below mel expression
    #[message.inboundProperties.authToken]