curl을 통해 REST 명령을 실행하면 .fcc 파일로 리디렉션되는 HTTP 302 응답이 반환되므로 먼저 자동 수정해야합니다.컬을 통해 siteminder 자격 증명을 게시하는 방법은 무엇입니까?
cURL and Siteminder authentication에 따르면 내 자격 증명을 fcc 파일에 게시해야합니다.
어떻게하면됩니까? (사용자 이름 및 암호)
이 내 원래 곱슬 곱슬 명령입니다 :
curl --request PUT --data @/src/test.xml https://xyz/api/1.0/123 --header Content-Type:application/xml'
302 응답 : 당신은 FCC의 URL로 직접 POST 요청을해야 할 것입니다
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://test.abc.net/login.fcc?TYPE=33619919&REALMOID=06-07701714-c347-43f8-bba0-688bac1edcb9&GUID=&SMAUTHREASON=0&METHOD=PUT&SMAGENTNAME=$SM$UKW4i11am9L5ITf0sVmE1loiw%2fpQcyWDPqnx2hsNNj1Re%2b4px5Mi%2fn2us1OBlwhZ&TARGET=$SM$https%3a%2f%2fitssp-gl3-xyz%2enet%2fabc%2fapi%2f1%2e0%2ftest%2f126">here</a>.</p>
</body></html>