cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AsgeirAlbretsen
Level: Powered On

Custom header not sent when using HTTP action

I'm building a Flow which will send an HTTP POST request to my server. It sends a file, as well as some additional information through a header called "Email-To". The action looks like this: 

 

http_action.png

 

The CORS on my NodeJS server looks like this:

 

res.header('Access-Control-Allow-Origin', '*');res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept, Email-To');res.header('Access-Control-Allow-Methods','GET, POST');

 

The "Email-To" header is always undefined when I send the HTTP request using Flow, but if I send an identical request using a different program like Postman, I can access the header. Does anyone know why my Flow headers seem to always be undefined? 

 

Response from running the flow looks like this:

 

http_result.png

 

Here is a link to a Stack Overflow post I made about the issue.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 55 members 4,399 guests
Please welcome our newest community members: