title: How to convert the response from Okhttp into inputstream
body: <h2>CODE:</h2>
  
  <pre><code>  public static String getRequestNoPayload(String urlString, String loginApi, String mUsername) throws Exception {
          Response response;
          try{
              client.setConnectTimeout(20, TimeUnit.SECONDS); // connect timeout
              client.setReadTimeout(20, TimeUnit.SECONDS);    // socket timeout
              Request request = new Request.Builder()
                      .url(urlString)
                      .addHeader("username",loginApi)
                      .addHeader("password",mUsername)
                      .build();
  
              response = client.newCall(request).execute();
  
          }catch(Exception e){
              throw e;
          }
          return response.body().string();
      }
  </code></pre>
  
  <p><strong>What i am trying to do:</strong>
  I am trying to convert <code>response.body()</code> into a <code>inputstream</code>. How to achieve this</p>