How to pass default parser in REST Assured?
<p>I am trying to Automate API using REST Assured. Below is the Error I got in during executing the API Test Case :-</p>

<blockquote>
  <p>testNotifications(com.api.truValue.test.notifications.NotificationsTest)  Time elapsed: 1.832 sec  &lt;&lt;&lt; FAILURE!</p>
  
  <p>java.lang.IllegalStateException: </p>
  
  <p>Cannot invoke the path method because no content-type was present in the response and no default parser has been set.</p>
  
  <p>You can specify a default parser using e.g.:
  RestAssured.defaultParser = Parser.JSON;</p>
  
  <p>at com.api.truValue.test.notifications.NotificationsTest.testNotifications(NotificationsTest.java:35)</p>
</blockquote>

<p>Please let me know how to resolve this or How to Pass Default Parser.</p>