http request and reply in c# by adding headers also
-
I want to send a http request from client to server by adding some headers and want to retrieve back those headers at server side .can some one give me the whole code for this i.e., including clent and server if possible. Thank you in advance .
-
I want to send a http request from client to server by adding some headers and want to retrieve back those headers at server side .can some one give me the whole code for this i.e., including clent and server if possible. Thank you in advance .
When you send those extra headers to the server, you do so by adding them to the collection of default headers, on the server side you can do the same. You can extract them from the headers collection attached with the request. We do not provide "whole code" for anything, there are however several ways to get the code or explanation from CodeProject, first of all search for this concept "headers c# http client" in the top right corner, and find yourself a useful article. Secondly, consider using Google and append " codeproject" to search for project content, and the best way is to show us what you have done. Show us your attempt at solving this problem, and we will help you with making it work.
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
When you send those extra headers to the server, you do so by adding them to the collection of default headers, on the server side you can do the same. You can extract them from the headers collection attached with the request. We do not provide "whole code" for anything, there are however several ways to get the code or explanation from CodeProject, first of all search for this concept "headers c# http client" in the top right corner, and find yourself a useful article. Secondly, consider using Google and append " codeproject" to search for project content, and the best way is to show us what you have done. Show us your attempt at solving this problem, and we will help you with making it work.
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
Thank You