K
Size: a a a
K
O
A
const resp1: CancelableRequest<Response<string>> = await new GotRequestClient()
.method('GET')
.url(config.use.baseURL + '/id')
.headers({
'Content-Type': 'application/x-www-form-urlencoded',
accept: '*/*',
Connection: 'keep-alive',
'user-agent': 'Test Agent',
})
.send();
const newCookie = (await resp1).headers['set-cookie'];
const resp2 = await new GotRequestClient()
.method('GET')
.url(config.use.baseURL + '/id')
.headers({
'Content-Type': 'application/x-www-form-urlencoded',
accept: '*/*',
Connection: 'keep-alive',
'user-agent': 'Test Agent',
cookies: newCookie,
})
.send();
Р
m
AS
A
AS
AS
AS
DD
DD
AS
A
DD
A
A
DD