only send content-type header when not GET method
always set Accept header to application/json