title: How to get header response in Retrofit in Android?
body: <p>This is my end point :</p>
  
  <pre><code>@POST("v4/MyStore/data")
  Observable&lt;Headers&gt; requestStore(@Body MyStoreRequest request);
  </code></pre>
  
  <p>I am trying to get response like this :</p>
  
  <pre><code>requestService.requestStore(request)
                  .subscribeOn(Schedulers.io())
                  .observeOn(Schedulers.computation())
                  .map(headers -&gt; {
                     Log.d("Response",""+headers);
                      return headers;
                  }).subscribe(headers -&gt; {
                              Log.d("Response",""+headers);
                          },
                          error -&gt; {
                             Log.d("ERRRROOOR","Error");
                          });
  </code></pre>
  
  <p>I am getting error like below:</p>
  
  <pre><code>Exception: retrofit2.adapter.rxjava.HttpException: HTTP 403 Forbidden
  </code></pre>
  
  <p>While in postman I am getting response:</p>
  
  <pre><code>Connection →keep-alive
  Content-Length →0
  Content-Type →application/json; charset=utf-8
  Date →Mon, 03 Sep 2018 18:47:30 GMT
  MYid →f028df50-c8c5-4cce-92e7-70130345ba46
  </code></pre>
  
  <p>What I am doing wrong here?</p>