@
Hi
I am trying to download a document from the WebCenter Content server (stored in pdf format) via CURL. This is the command that I am using is:
curl http://weblogic:weblogic1@10.180.6.103:16000/imaging/faces/Pages/Viewer.jspx? -d "IdcService=GET_FILE&dID=2.IPM_2970772"
This is the response that I am getting:
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at <a href="http://10.180.6.103:16000/imaging/faces/Authentication/Login.jspx">http://10.180.6.103:16000/imaging/faces/Authentication/Login.jspx</a>.</p>
</body></html>
I am using WebCenter Content server version 12c: 12.2.1.3.0
If I open the URL directly in a browser, it asks me for the username and password, after which it opens the document successfully.
Can someone please suggest the possible root cause of this issue.
I have gone through following links to check how to access content from WebCenter Content server:
1) Core Content Only Blog - Redstone Content Solutions
2) https://docs.oracle.com/cd/E23943_01/doc.1111/e11011/c04_core.htm#CSSRG2458
TIA!
Ankit