Reputation: 3757
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
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
Reputation: 2493
You can add iframe whose src contains url with different port
Upvotes: 0