Create Tokens
Add the standard HTTP method POST for the tokens controller in the API.
We'll cover the following
We only need the POST
request for the tokens controller as we will not need to view, edit, or delete the tokens. Thus, we will just be working on the create
action.
Add routes
We will modify the route a little to respect the REST conventions. The config/routes.rb
should look like this:
Get hands-on with 1400+ tech skills courses.