This content originally appeared on DEV Community and was authored by MUSTDOS
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…
This content originally appeared on DEV Community and was authored by MUSTDOS
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.
APA
MLA
MUSTDOS | Sciencx (2025-01-10T22:41:25+00:00) Devise not accepting JSON Token. Retrieved from https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
" » Devise not accepting JSON Token." MUSTDOS | Sciencx - Friday January 10, 2025, https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
HARVARDMUSTDOS | Sciencx Friday January 10, 2025 » Devise not accepting JSON Token., viewed ,<https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/>
VANCOUVERMUSTDOS | Sciencx - » Devise not accepting JSON Token. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
CHICAGO" » Devise not accepting JSON Token." MUSTDOS | Sciencx - Accessed . https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/
IEEE" » Devise not accepting JSON Token." MUSTDOS | Sciencx [Online]. Available: https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/. [Accessed: ]
rf:citation » Devise not accepting JSON Token | MUSTDOS | Sciencx | https://www.scien.cx/2025/01/10/devise-not-accepting-json-token/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.