You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default format also allows us to get a response from /api/v1/notes in addition to /api/v1/notes.json.
And now we can remove all respond_to :json calls in the API controllers.
If we load localhost:3000/api/v1/notes.json in a browser now, we should see our note data as well as a URL that we can click (or consume) to get to the data for each note.
Now is a good time to commit if everything is working as expected.