Skip to content

Instantly share code, notes, and snippets.

@dariayermolova
Last active May 13, 2021 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dariayermolova/fdc754c2a5ea65ffde581537fe5b346e to your computer and use it in GitHub Desktop.
Save dariayermolova/fdc754c2a5ea65ffde581537fe5b346e to your computer and use it in GitHub Desktop.
pm.sendRequest({
url: environment.host + "url" + environment.a_signup + "url",
method: 'GET',
}, function(err, response) {
//запись в переменную ответа
var code = response.json();
//копирование в переменную код юзера
pm.environment.set("code_signup", code.code);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment