How do I retrieve report output from the command line using curl? CSV or PDF format is preferable.
Here is the syntax I'm using
curl --user some_usert:vXHGHG -H "Content-Type:text/csv" -X GET [MY_REPORT_URL.myreport.xdm] > test0.csv
The response I get is always says I need JavaScript enabled. Is there a server setting I am missing?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ....
<html lang="en-US" dir="ltr">
<head>
<title>Oracle BI Publisher Enterprise Login</title>
<meta name="Generator" content="Oracle BI Publisher 12.2.1.3.0 (build# 20170720.0424 on Thu Jul 20 04:29:04 GMT 2017)"/>
<META Http-Equiv="Cache-Control" Content="no-cache"/>
.......
</script>
<NOSCRIPT>You must run this product with JavaScript enabled.</NOSCRIPT>
</head>
<body onLoad="document.loginform.id.focus();initSelect();">