---
title: "How to include UserID and Password in the http header?"  
description: "How to include UserID and Password in the http header?"  
author: "Royce Roy"  
published: 2014-08-22  
updated: 2014-08-22  
canonical: https://www.mindstick.com/forum/2089/how-to-include-userid-and-password-in-the-http-header  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# How to include UserID and Password in the http header?

How to include UserID and [Password](https://www.mindstick.com/blog/118/retriving-user-password-by-using-stored-procedure-in-asp-dot-net) in the [http](https://www.mindstick.com/blog/217/http-endpoints-in-sql-server-2005-2008) [header](https://www.mindstick.com/articles/336036/explain-about-html-header-body-and-footer-tags)?

## Replies

### Reply by Sumit Kesarwani

Hi Royce, \
try this:

request.Headers.Add("UserID", userID);

request.Headers.Add("Password", password);


---

Original Source: https://www.mindstick.com/forum/2089/how-to-include-userid-and-password-in-the-http-header

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
