1

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.

  • This site is not about programming web apps. Please read the FAQ. – ale 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
3

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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