software_qa_eng
15 years agoOccasional Contributor
prompted 'save as' when response format is json
i followed the steps to create a rest project.
I set the endpoint as http://<hostname>/v2/videos.json?locale=us
the resource path shows /v2/videos.json in the resource viewer
when i click the green button on the request window, the 'save as' prompts open.
I followed the example (Understanding REST Parameters) with the twitter rest service retrieving a json response (http://search.twitter.com/search.json), and for that example I did not get the 'save as' prompt.
the only difference i see between my api and the twitter is the additional hierachy placement of '.json'.
I attempted to look at the forum as well as surfing on the web for answers, but I have not encountered any solutions nor similar issues.
And one more thing to note. when i change the response type to ../videos.xml?... i do not get a 'save as' prompt. the request is returned in xml format.
possible there is a config in the preference i need to disable? Any help/assistance would be great.
I set the endpoint as http://<hostname>/v2/videos.json?locale=us
the resource path shows /v2/videos.json in the resource viewer
when i click the green button on the request window, the 'save as' prompts open.
I followed the example (Understanding REST Parameters) with the twitter rest service retrieving a json response (http://search.twitter.com/search.json), and for that example I did not get the 'save as' prompt.
the only difference i see between my api and the twitter is the additional hierachy placement of '.json'.
I attempted to look at the forum as well as surfing on the web for answers, but I have not encountered any solutions nor similar issues.
And one more thing to note. when i change the response type to ../videos.xml?... i do not get a 'save as' prompt. the request is returned in xml format.
possible there is a config in the preference i need to disable? Any help/assistance would be great.