Sunil Sudhansu

Sunil Sudhansu

  • 1.3k
  • 305
  • 30.1k

How to call post method webapi and return result in mvc

Nov 1 2019 12:53 AM
Dear Sir,
 
i have api Link "http://ssssssssssssssss.com/api/Login/WebLogin" .this is a login link .
 
Method POST
 
Request:
{
"username":"SDC0000",
"password":""
}
Response:
{
"status": 1,
"message": "",
"data": {
"authenticated": true
}
 
How to call in mvc cantroller on post Method. 

Answers (1)