danielb_leal
Joined 11/15/2016
danielb_leal said about 8 years ago on Rails API - Authentication with JWT :

Hi, thanks for the video.

I clone this github repo, make manual user registration (via rails console) and then make a POST request to get jwt token (authenticate). Until then, it worked perfectly.

However, when I request localhost:3000/users/1 I get the page html, instead user data as json or 401 Unauthorized. How can I solve that?