How do you set the content type of a request in RestAssured?
How do you set the content type of a request in RestAssured? A) contentType() B) setType() C) withContent() D) addType() Answer: A) contentType() Explanation: The contentType() method in RestAssured is used to set the content type of the request, such as JSON, XML, or form data. This ensures that the server processes the request correctly. […]
How do you set the content type of a request in RestAssured? Read More »