devise 2.1.0: return Completed 401 Unauthorized when post json datas

I got 401 unauthorized when I visit a action with post json datas.
But I change post method to get,
It works fine.

who can give me a help?!

Ah, you wanted the 20-minute response time plan -- will that be Visa
or Mastercard?

Start here: http://www.catb.org/~esr/faqs/smart-questions.html

I can give you a help.

Dheeraj Kumar

You’ll need to post more details to get specific help; my guess would be that you’re either trying to authenticate for a post request, failing authenticity token checks, or not matching a route somehow. But those are just wild guesses without more specifics about what you’re attempting to do.

–Matt Jones