Forum Discussion
Kamal1315
Oct 04, 2019Copper Contributor
Opening Edge (Chromium) using 'System.Diagnostics.Process' and pass request header to target url
Hi, We need to launch Edge (Chromium) using 'System.Diagnostics.Process' with header to target URL request. My code is - Process.Start("microsoft-edge:" + <url>); Which work and open the Edge w...
Kamal1315
Oct 07, 2019Copper Contributor
Eric_LawrenceThanks Eric for reply.
Please see my comments for your query -
[What header do you need to pass, to what service or server? Do you control the service/server? Must the data be in a header vs. a POST body or Query Parameter on the URL?]
=> We need to pass authentication header to our own server's hosted web application.
Authentication details are normally sent via header only, so no post body or query string parameter.
Eric_Lawrence
Microsoft
Oct 07, 2019Kamal1315 Yeah, unfortunately this ("Add a header to a navigation request") isn't a capability present in the web platform. You could write a browser extension that does this, or you'd need to change the server such that it has a mechanism to accept the Auth data from the URL or a POST body.