Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
    
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
show 2 more comments

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

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

1 Answer

up vote 0 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.