Link to home
Start Free TrialLog in
Avatar of Stephen Forero
Stephen ForeroFlag for United States of America

asked on

json restful service , IE trying to download response

Hi Guys,

I am trying to learn the basics of return data using a webservice in JSON format.

using this link

http://www.codeproject.com/Articles/105273/Create-RESTful-WCF-Service-API-Step-By-Step-Guide

Everytime I launch in my IE browser, IE tries to download it instead of open it in the browser.

I think I found a solution but I dont know how or where to actually set the reponse type to text.  Can someone please help out?

here is the link with my hopeful answer
http://stackoverflow.com/questions/1072595/json-xhr-response-opens-a-download-file-popup-window

thanks
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

What version of IE are you using? IE 8 or IE 9 and what mode? (Press F12 and check browser and document mode)
What version of VS2010 and .NET are you using?
Avatar of Stephen Forero

ASKER

IE8... Browser mode IE8, IE8 standards
Microsoft Visual Web Developer 2010 Express
.net 4.0
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks... I'll try the POST method and come back with the results