What happens if you take your URL:

http:localhost:3001/account/create.json

and paste it into the address bar in Firefox and then hit Enter?

Do you see it add something that was missing? :-)

BTW, I assume your app is running on localhost:3001, is that right? I'd
suggest using a relative URL instead, e.g.:

/account/create.json

That way you won't have to change your code if you move your app to a
different server.

-Mike

> From: Alexander Cabezas
> 
> Hi.
> 
> 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?.

Reply via email to