I already used Pudit and Devise for registration and authorization via the web interface.
But I want to support via REST interface too. Is it possible to use Pudit or Devise for doing that. For example, sending this JSON for creating a new user
{
"email":"user@mail.com",
"password":"password",
"confirm_password":"password"
}