2009/8/24 Alexander Cabezas <alexcabez...@gmail.com>:
> When i try to make an ajax request like:
> $.get( "http:localhost:3001/account/create.json", SignUp.onComplete );
>
> I get the following error in the firebug ( Net ):
> OPTIONS - 405 Method Not Allowed
>
> Is it related to cross-domain request?.
>

Probably not, assuming you aren't making a cross-domain request. That
error is the server tellling you that you aren't allowed to use GET to
access the resource at that URL [1]. Looking at it, it probably only
allows POST.

[1] <http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6>

Regards,

Nick.
-- 
Nick Fitzsimons
http://www.nickfitz.co.uk/

Reply via email to