Closed ghkdqhrbals closed 6 months ago
그래서 만약 인증이 필요한 타겟서버의 url 의 경우, 해당 인증을 사전에 수행한 뒤 토큰을 원하는 형식으로 HTTP Request 에 삽입시키는 과정이 필요하죠.
여기서 인증 옵션을 설정해야합니다.
1) 어떤 토큰을 헤더의 어떤값으로 받는지. e.g. Set-Cookie, Cookie, Authorization, etc. 2) 아니면 토큰을 바디로 받는지. e.g. { "Bearer xxxx..." }, Bearer xxxxxx...
Set-Cookie
Cookie
Authorization
{ "Bearer xxxx..." }
Bearer xxxxxx...
그래서 만약 인증이 필요한 타겟서버의 url 의 경우, 해당 인증을 사전에 수행한 뒤 토큰을 원하는 형식으로 HTTP Request 에 삽입시키는 과정이 필요하죠.
여기서 인증 옵션을 설정해야합니다.
1) 어떤 토큰을 헤더의 어떤값으로 받는지. e.g.
Set-Cookie
,Cookie
,Authorization
, etc. 2) 아니면 토큰을 바디로 받는지. e.g.{ "Bearer xxxx..." }
,Bearer xxxxxx...