This is the response message:
{StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
X-Frame-Options: SAMEORIGIN
X-SourceFiles: =?UTF-8?B?RDpcd29ya1xfXFNtc0FwaVxTbXNBcGkuV2ViXGFjY291bnRcbG9naW4=?=
Cache-Control: private
Date: Fri, 24 Jun 2016 03:04:32 GMT
Set-Cookie: __RequestVerificationToken=D0tzqAqeERwp2EPr9V0_MYGn0syYsoBeBTS6C28sjPVo436KO837RC_iXZQstD3bqrH5EGKry7gHCFoqvg8ZNpDVDgA1; path=/; HttpOnly
X-Powered-By: ASP.NET
Content-Length: 2700
Content-Type: text/html; charset=utf-8
}}
And the request message:
AbsoluteUri = "http://localhost:20297/Account/Login?ReturnUrl=%2fapi%2fCoordinatorApi%2fGetDepartmentList%3fInstituteCode%3d4009&InstituteCode=4009"
Here
Account/Login?ReturnUrl=
Add that why my webapi method add prefix with webapi uri.