in My Scenario.
I want to redirect all request to another domain that includes Path,QueryStrings,Method,Content
Example Some user send request to my domain.
POST www.mydomain.com/service?id=5
HEADER {
token:securityToken
UserAgent: Chrome
Accept: application/json
}
BODY
{
Content lorem ipsum
}
I 'll Check some parameters and change token in the header.
Then
I want to send this request to another domain.
POST www.anotherdomain.com/service?id=5
HEADER {
token:newsecurityToken
UserAgent: Chrome
Accept: application/json
}
BODY
{
Content lorem ipsum
}
Finally
User will get anotherdomain's response. Is it Possible ?
Server : Windows server 2008 .Net Framework : 4.0
Thanks