How to do User Registration using Web Api 2

by sunil ravulapalli /18. December 2013 08:15 /asp.net-web-api /Comments (0)

Do a HTTP POST to the URL 

http://localhost/api/Account/Register

with HTTP HEADER

content-type: application/json

and the HTTP BODY

{
  "UserName": "johnsmith",
  "Password": "supersecret",
  "ConfirmPassword": "supersecret"
}

You should get a HTTP RESPONSE 200

blog comments powered by Disqus