Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6550267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:11:43+00:00 2026-05-25T12:11:43+00:00

Browsers don’t allow cross-site AJAX calls (it’s a security restriction). Is there any possible

  • 0

Browsers don’t allow cross-site AJAX calls (it’s a security restriction).
Is there any possible solution ?

EDIT

I control only the caller website

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:11:44+00:00Added an answer on May 25, 2026 at 12:11 pm

    If you control both parties then there a lot of options. Such as JSONP, or modifying header responses of the remote website. Unfortunately, JSONP only works if the remote website supports it. You can’t force a JSONP call to a website that doesn’t already support it.

    However, as you have said, you only control the source website. You cannot hack the browser around this restriction for obvious reasons. You do have a third option which is creating a back-end proxy. You can use Apache and mod_rewrite to create a proxy. Here is on how to do this or this link which is more detailed.

    For example

    ProxyPass /api/gtalkbots http://gtalkbots.com/reverse-proxy-data.php  
    ProxyPassReverse /api/gtalkbots http://gtalkbots.com/reverse-proxy-data.php  
    

    Creates a proxy at /api/gtalkbots which will returns the repose from gtalkbots.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

By default, browsers don't allow cross-site AJAX requests. I understand that a badly envisioned
There is this well-known problem that browsers don't put Ajax request in the request
Is there any data regarding how browsers actually support rest http verbs (especially PUT,
Is it possible to do a cross-site call, in Javascript, to a WCF service?
I don't know what happened to my Firefox (other browsers working fine). I tried
Mobile browsers. Jquery dialog alert box. I don't want to use alert() because it
I know most mobile browsers don't support javascript, how can I check this?
I found that, browsers don't block all pop-up JavaScript windows. How to write pop-up
I'm making a show password button for password input. Problem that is browsers don't
When creating a tabbable div inside a form, most browsers don't submit the form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.