I'm using REST-Assured in Java and here's how I'm getting my response
object:
Response response = RestAssured.given().contentType(ContentType.JSON).header(header_name).get();
I want to know if there's any way to extract the method name used (GET
in this case) from the response
object.