Introduction

This articles explains how to create a individual accounts in the ASP.NET Web API. This is related to the authentication and the security of the Web API. It is usually created for managing the local database. For this article we need the Fiddler tool for the HTTP request of the Web API.

Now see the following example.

Step 1

Step 2

Press F5 to execute the application. It displays the home page.

Execute the application

When the application is executed it uses a port number for the web server. Here the port number is "42506"

Step 3

Now send the HTTP request to the Web API.

Step 4

Register the user.

The Fiddler Tool looks like this:

Request in Fiddler

Press "Execute" and now click on the Raw for seeing the HTTP request.

Http Request