Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the Chrome app Advanced REST client, Version 3.1.1.

When I issue a GET request, Advanced Rest Client sets the request header with Accept: */*.

How can I issue a GET request with a request header including Accept: application/json?

This option seems to be provided for POST requests, but not for GET requests.

share|improve this question

migrated from webapps.stackexchange.com Mar 25 '13 at 18:12

This question came from our site for power users of web applications.

    
This site is not about programming web apps. Please read the FAQ. – Al E. Mar 19 '13 at 23:35
    
Hm, "If your question generally covers [...] browsers and their features relating to the use of a web application (Greasemonkey scripts for a web application, etc.) [...] then you’re in the right place to ask your question!" ... I'm using (not programming) in my question, no? – Abdull Mar 20 '13 at 0:13
1  
You aren't asking a question about a Web Application, but about a Chrome extension. Unless you're asking about how this works with a specific Web App...? – Andrew Lott Mar 25 '13 at 16:40
1  
Does adding Content-Type: application/json; charset=utf-8 change the result? – harrymc Mar 26 '13 at 20:39
1  
It is good that the problem is solved, but the solution is yours to write. – harrymc Mar 27 '13 at 8:03
up vote 2 down vote accepted

Add Accept: application/json in the Raw / Form / Headers field.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .