title: How to convert Response.ok().build() to json type
body: <p>I  am making a request to an API and getting a response status code of 200.</p>
  
  <p>Response of the api doesnot include a json response.</p>
  
  <pre><code>@POST method
  import javax.ws.rs.core.Response;
  return Response.ok().build();
  </code></pre>
  
  <p>How can I convert the response as JSON ?</p>