Answer the question
In order to leave comments, you need to log in
Who will help to deal with restAssured authorization? with Yandex?
I understand in theory how to log in, but I can’t catch up with what and how to use, please tell me kind people !!! you need to go through authorization and get a test token at the test site, who can offer what implementation options?
Answer the question
In order to leave comments, you need to log in
You press the get token button and insert it into the header
String response =
given()
.header(new Header("Authorization", "OAuth KEY"))
.get(" https://cloud-api.yandex.net/v1/disk ").asString();
System.out.println(response);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question