DEV Community

MUSTDOS
MUSTDOS

Posted on

Devise not accepting JSON Token

-2

I looked at the parameters in rails console only to find out it added users so I did like this

val json = parseToJsonElement("""
        {"name":"$name","password":"$password"}}"""

However, it's still rejects it as 401 Unauthorized access on the rails side

I used to be able to login with my JSON token through…

Top comments (0)

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay