Create Users

We will add the standard HTTP method POST for the User model in the API.

Now that we better understand building entry points, it is time to extend our API. One of the application’s most important features is to let the users create a profile on our application. The HTTP function POST will be used for that purpose.

Let’s build the POST function for the API.

Define the create action

We will define the create action by simply adding the ...