Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am not understand why appand before WebapiUrl (Institute/MemberLogin?ReturnUrl=)

Method: GET, RequestUri: 'http://localhost:20297/Institute/MemberLogin?ReturnUrl=%2fapi%2fCoordinatorApi%2fGetDepartmentList%3fInstituteCode%3d4009&InstituteCode=4009', Version: 1.1, Content: <null>, Headers:
{
  Accept: application/json
}


What I have tried:

I do not not what should i do for solve this issue.
Posted
Updated 28-Feb-17 21:53pm
Comments
Sunasara Imdadhusen 1-Mar-17 2:31am    
Not clear at all!! provide more detail with code snippet.

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900