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

  • SEARCH
  • Home
  • 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 6365901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:21:09+00:00 2026-05-25T00:21:09+00:00

Hey guys When I requested ajax request a web service I m gettig this

  • 0

Hey guys When I requested ajax request a web service I m gettig this error with this code.. But Not every computer just laptops 🙂 I don’t understand… it works with desktop computer

ajax request from this site http://www.mozturk.somee.com/main.html

XMLHttpRequest cannot load http://www.mozturk.somee.com/icerik.asmx/makaleGetir. Origin http://www.mozturk.somee.com is not allowed by Access-Control-Allow-Origin.
$.ajax({

            type: 'POST',
            url: 'http://www.mozturk.somee.com/icerik.asmx/makaleGetir',
            data: JSON.stringify(json),
            contentType: 'application/json; charset=utf-8',
            dataType: 'json',
            cache: false,
            success: function (results) {

            },
            error: function () {
                alert('Bağlantı sırasında bir sorun oluştu. Yeniden deneyin');
            }

        });
  • 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-25T00:21:09+00:00Added an answer on May 25, 2026 at 12:21 am

    You are almost certainly misdiagnosing the problem and testing:

    • http://mozturk.somee.com/main.html on the laptops
    • http://www.mozturk.somee.com/main.html on the desktop.

    Since you use an absolute URI in the request, you end up mixing origins.

    Use a relative URI instead.

    (I also suggest you pick either mozturk.somee.com or http://www.mozturk.somee.com to be canonical and redirect all the traffic from the other to it).

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

Sidebar

Related Questions

Hey guys, this bit of code works in IE but not in Chrome, any
Hey Guys, here is my code for this, the only help i get from
Hey guys quick question, I am sending a request with the jquery ajax function
hey guys I have the follow code in js: $(document).ready(function(){ $(.replyLink).click(function(){ $(#form-to-+this.id).html(htmlForm()).toggle(500); return false;
Hey guys, I have a little problem with a simple ajax request. I can't
hey guys, i'm loading a div from a subsite with ajax. this subsite has
Hey guys I get no errors from my code but nothing seems to happen
Hey guys here is my code: <script>$('td#view-details').click(function() { var fg = $(this).closest('td').siblings(':first-child').text(); $('#'+fg+'confirm').click(function ()
Hey guys I'm not sure how to phrase this to get the correct search,
Hey guys I have the following code working which is sending a GET Request

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.