Virtualizer - asking to download JSON file instead of showing contents

aparachaaparacha Posts: 10

Hi,

Question : I have virtualize Rest API, working perfect with postman/chrome but ones try URI under IE 11, instead of showing JSON on screen asks me to OPEN or Download file.

If i click on OPEN, nothing happens.

Thanks,

Answers

  • williammccuskerwilliammccusker Posts: 294 ✭✭

    I am not sure I understand the question. It sounds like you are trying to call a resource on the Virtualize rest api? If that is the case what you are seeing sounds like a browser specific behavior

  • VirtualUserVirtualUser Posts: 9

    Hi, if IE won't display JSON you may want to try downloading the file and opening it with Wordpad or Notepad++.

  • aparachaaparacha Posts: 10

    Yes its rest API resource, JSON data. postman & Chrome are able to show JSON contents on screen while IE 11 gives option to download JSON file instead of opening in browser.

    Thanks,

  • Ireneusz SzmigielIreneusz Szmigiel Posts: 209 ✭✭
    edited October 2017

    aparacha
    what kind of mime type you setup in response?

  • aparachaaparacha Posts: 10

    Ireneusz, its JSON .
    Jakubiak, thanks for sharing link, answered my question.

    Thanks,

  • jakubiakjakubiak Posts: 586 admin

    Great! One of the links had instructions that would modify the behavior of IE - were you able to get that to work?

  • aparachaaparacha Posts: 10

    There is no need to go that way for now, had to explain scenario to lead.
    Thanks,

  • Neeti_1302Neeti_1302 Posts: 1

    For me, the same is happening in chrome. It automatically downloads a json file if i hit api in chrome browser. And works perfectly fine if i query it in postman.

    Please suggest.

  • Ireneusz SzmigielIreneusz Szmigiel Posts: 209 ✭✭

    Netti_1302

    it looks like Chrome bug, see :
    Google support
    or here

    --
    Ireneusz Szmigiel
    http://www.catb.org/esr/faqs/smart-questions.html

Sign In or Register to comment.