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?!

On Thu, Jul 12, 2012 at 8:49 PM, bill gate [email protected] wrote:

who can give me a help?!

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

Start here: How To Ask Questions The Smart Way


Hassan S. ------------------------ [email protected]

twitter: @hassan

I can give you a help.

Dheeraj K.

On Thursday, 12 July 2012 23:28:48 UTC-4, Ruby-Forum.com User wrote:

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

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 J.