How can I view/access HTTP response headers from HTTP requests
Hi, I am currently in the process of building out a recipe which relies on a HTTP webhook trigger. In this recipe, I would like the trigger to be only triggered if the HTTP request contains some header info i.e. Bearer. Would appreciate any help with this issue.
Best Answer
B
Bryan Yap
said
about 6 years ago
Hi Saul, this behaviour is definitely possible to achieve using our HTTP Webhook Trigger. I've created a recipe at https://www.workato.com/recipes/618213#recipe which illustrates how this can be done.
I've pasted a screenshot of the trigger details below. Basically, in order for the trigger to work, you will need to specify the Expected request headers in the trigger configuration (like shown in the image below). If this step is not done, then the data pills representing those pieces of information will not be reflected in the data tree, hence preventing you from making use of the header data within your recipe.
Answer
Bryan Yap
said
about 6 years ago
Hi Saul, this behaviour is definitely possible to achieve using our HTTP Webhook Trigger. I've created a recipe at https://www.workato.com/recipes/618213#recipe which illustrates how this can be done.
I've pasted a screenshot of the trigger details below. Basically, in order for the trigger to work, you will need to specify the Expected request headers in the trigger configuration (like shown in the image below). If this step is not done, then the data pills representing those pieces of information will not be reflected in the data tree, hence preventing you from making use of the header data within your recipe.
Saul Macht
How can I view/access HTTP response headers from HTTP requests
Hi, I am currently in the process of building out a recipe which relies on a HTTP webhook trigger. In this recipe, I would like the trigger to be only triggered if the HTTP request contains some header info i.e. Bearer. Would appreciate any help with this issue.
Hi Saul, this behaviour is definitely possible to achieve using our HTTP Webhook Trigger. I've created a recipe at https://www.workato.com/recipes/618213#recipe which illustrates how this can be done.
I've pasted a screenshot of the trigger details below. Basically, in order for the trigger to work, you will need to specify the Expected request headers in the trigger configuration (like shown in the image below). If this step is not done, then the data pills representing those pieces of information will not be reflected in the data tree, hence preventing you from making use of the header data within your recipe.
Bryan Yap
Hi Saul, this behaviour is definitely possible to achieve using our HTTP Webhook Trigger. I've created a recipe at https://www.workato.com/recipes/618213#recipe which illustrates how this can be done.
I've pasted a screenshot of the trigger details below. Basically, in order for the trigger to work, you will need to specify the Expected request headers in the trigger configuration (like shown in the image below). If this step is not done, then the data pills representing those pieces of information will not be reflected in the data tree, hence preventing you from making use of the header data within your recipe.