Upperstage
Upperstage

Reputation: 3757

ExtJS4 AJAX request is cross domain

I am trying to post to a server listening on a different port, but FireFox insists on sending an OPTIONS request because apparently I am not using the proper URL. How can I POST to localhost:8161 without FireFox thinking the request might be cross domain and sending OPTIONS?

Upvotes: 0

Views: 2814

Answers (2)

lontivero
lontivero

Reputation: 5275

Here you have an answer:

How do I send a cross-domain POST request via JavaScript?

It is not easy to detail it in a better way.

Upvotes: 1

Boris Gappov
Boris Gappov

Reputation: 2493

You can add iframe whose src contains url with different port

Upvotes: 0

Related Questions