Passing Request headers from core server to action server

Hi Team,

Wondering how we can pass the Request headers information from Core server to Action server?

Any suggestions?

Hi Team,

Found a way… i am appending my header to Message and created a custom function [To Split and update the actual message and set a new key value over the message object] and included the same to pipeline at the beginning… Retrieve the same over the action using tracker.latest_message[‘object/ key name’].get(‘value’)


1 Like

Hi Team,

Could you elaborate more on how to pass a header from Rasa core to rasa action server? This strikes me as a pattern others would also benefit from. At the moment I’m struggling to pass the auth header to the custom action server where I’d like to make some DB updates based on the token encoded values.