Ответ 1
Я отправляю пример:
Response response = given().
queryParam("apiKey", "abc123").
queryParam("code", code).
queryParam("type", type).
contentType("application/json").
log().all().
when().
get(url).
then().
contentType("application/json").
statusCode(200).
extract().response();