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 8551391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:11:07+00:00 2026-06-11T14:11:07+00:00

I am trying to consume my newly setup JSON service. I have created a

  • 0

I am trying to consume my newly setup JSON service. I have created a basic fiddle which just alerts when run. As you will see it can’t seem to get a response, but when you check the web service URL it is clearly sending a response.
[http://196.34.92.60/api/api/v1/public.svc/getoperators]

Thanks for the help to the champ who can point out my mistake.

Fiddle address: http://jsfiddle.net/devin85/JmTe4/3/

Cheers Devin

  • 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-06-11T14:11:08+00:00Added an answer on June 11, 2026 at 2:11 pm

    Your Json is invalid so your request is not able to parse. Also if it is from different domain, your datatype should be jsonp.
    Change your error to see the issue

     error: function(jqXHR, textStatus, errorThrown) {
            alert(textStatus);
        }
    

    You are asking the url to return a JSON but your json is like this :: golden arrowjammiemyciti which is invalid. SO you need to make your result correct . It can look like this.

    "result":"golden arrowjammiemyciti"
    

    Also if your domain is differnt, you need to change it to JSONP. otherwise do a normal ajax request without any json type.

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

Sidebar

Related Questions

I have a test wcf service which I am trying to consume from a
I'm trying to consume a web service created in .NET which needs SOAP authentication.
I am trying to consume my newly setup RESTful WCF service, located at [http://196.34.92.60/api/api/v1/public.svc/getoperators]
I'm trying to consume a RESTful JSON web service using WCF on the client
I'm trying to consume a remote Web service that uses HTTP basic authentication, using
I am trying to consume a rest service which returns XMI data like this:
I am trying to consume an existing web-service from another company and have troubles
I have a web service developed in ColdFusion that I am trying to consume
I am trying to consume secure restful service which gives error Error = Error
I am trying to consume a web service which requires dates in UTC. So

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.