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.


Report
All responses (
Answers (