.net - c# : How to pass Authorization values as Headers using WebBrowser.Navigate() method? -


there api used fetch data server, when pass whole url authorization value it's working fine below :

webbrowser.navigate("https://abc/resources/1&authorization=bearer%tokenvalue");

know security leak , not practice hence want send authorization details in headers section.

below code tried couldn't make work.

string header = "authorization=bearer tokenvalue" webbrowser.navigate(https://abc/resources/1, "", null, header); 


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -