I have read some relative questions, but unfortunately they do not answer my one, since I have specific requirements.
Maybe it's a dumb question, but how can I request (GET) a JSON-response using httpURLConnection and the http-header "Accept"?
I found a snippet in the documentation, but I'm not sure how to do it though.
Accept = "Accept" ":" #( media-range [ accept-params ] )