Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

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: 




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:




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

Super User
Super User

HI @AsgeirAlbretsen 


I'm probably missing something but, you should include the "Email-to" in the header in the HTTP action if you want to achieve that.


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.




Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,841)