Export to GitHub

imageshackapi - issue #15

Can't retrieve image XML using AJAX


Posted on Aug 26, 2010 by Happy Dog

What steps will reproduce the problem?

  1. Try to use AJAX to retrieve an XML file, eg http://yfrog.com/api/xmlInfo?path=3ui95nj
  2. Fail to retrieve it as the request hits the 301 direct and stops

What is the expected output? What do you see instead?

I expect the XML feed but get an empty response, along with HTTP response headers whose "Location" field yields the correct URL (eg http://img138.imageshack.us/xmlinc.php?l=img138/4483/i95n.jpg&xml=newformat)

What version of the product are you using? On what operating system?

Current version, Linux.

Please provide any additional information below.

I've tried this using jQuery's AJAX tools and 'traditional' AJAX too - same result.

Comment #1

Posted on Sep 14, 2010 by Happy Horse

same my problem !!

Status: New

Labels:
Type-Defect Priority-Medium